Class JCRLocalOneDriveFile
- java.lang.Object
-
- org.exoplatform.services.cms.clouddrives.LocalCloudFile
-
- org.exoplatform.services.cms.clouddrives.jcr.JCRLocalCloudFile
-
- org.exoplatform.services.cms.clouddrives.onedrive.JCRLocalOneDriveFile
-
- All Implemented Interfaces:
org.exoplatform.services.cms.clouddrives.CloudFile
public class JCRLocalOneDriveFile extends org.exoplatform.services.cms.clouddrives.jcr.JCRLocalCloudFile
-
-
Field Summary
Fields Modifier and Type Field Description protected StringaccountTypeThe Account type.protected OneDriveAPIapiThe one drive api.protected static StringBUSINESSThe constant BUSINESS.protected static StringEMPTY_STRINGThe constant EMPTY_STRING.
-
Constructor Summary
Constructors Modifier Constructor Description protectedJCRLocalOneDriveFile(String path, String id, String title, String link, String editLink, String previewLink, String thumbnailLink, String type, String typeMode, String lastUser, String author, Calendar createdDate, Calendar modifiedDate, boolean folder, long size, javax.jcr.Node node, boolean changed, OneDriveAPI api, String accountType)Local cloud file or folder (full internal constructor).JCRLocalOneDriveFile(String path, String id, String title, String link, String editLink, String previewLink, String thumbnailLink, String type, String typeMode, String lastUser, String author, Calendar createdDate, Calendar modifiedDate, long size, javax.jcr.Node node, boolean changed, OneDriveAPI api, String accountType)Local cloud file with edit link.JCRLocalOneDriveFile(String path, String id, String title, String link, String previewLink, String thumbnailLink, String type, String typeMode, String lastUser, String author, Calendar createdDate, Calendar modifiedDate, long size, javax.jcr.Node node, boolean changed, OneDriveAPI api, String accountType)Local cloud file without edit link.JCRLocalOneDriveFile(String path, String id, String title, String link, String type, String lastUser, String author, Calendar createdDate, Calendar modifiedDate, javax.jcr.Node node, boolean changed, OneDriveAPI api, String accountType)Local cloud folder (without edit, preview, thumbnail links, type mode and size).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPreviewLink()Gets the preview link.-
Methods inherited from class org.exoplatform.services.cms.clouddrives.jcr.JCRLocalCloudFile
getAuthor, getCreatedDate, getEditLink, getId, getLastUser, getLink, getLocalModifiedDate, getModifiedDate, getNode, getPath, getSize, getThumbnailLink, getTitle, getType, getTypeMode, isChanged, isFolder
-
-
-
-
Field Detail
-
BUSINESS
protected static final String BUSINESS
The constant BUSINESS.- See Also:
- Constant Field Values
-
EMPTY_STRING
protected static final String EMPTY_STRING
The constant EMPTY_STRING.- See Also:
- Constant Field Values
-
api
protected final OneDriveAPI api
The one drive api.
-
accountType
protected final String accountType
The Account type.
-
-
Constructor Detail
-
JCRLocalOneDriveFile
protected JCRLocalOneDriveFile(String path, String id, String title, String link, String editLink, String previewLink, String thumbnailLink, String type, String typeMode, String lastUser, String author, Calendar createdDate, Calendar modifiedDate, boolean folder, long size, javax.jcr.Node node, boolean changed, OneDriveAPI api, String accountType)
Local cloud file or folder (full internal constructor).- Parameters:
path-Stringid-Stringtitle-Stringlink-StringeditLink-StringpreviewLink-StringthumbnailLink-Stringtype-StringtypeMode-StringlastUser-Stringauthor-StringcreatedDate-CalendarmodifiedDate-Calendarfolder-Booleansize- the sizenode-Nodechanged-Booleanapi- - the one drive apiaccountType-
-
JCRLocalOneDriveFile
public JCRLocalOneDriveFile(String path, String id, String title, String link, String editLink, String previewLink, String thumbnailLink, String type, String typeMode, String lastUser, String author, Calendar createdDate, Calendar modifiedDate, long size, javax.jcr.Node node, boolean changed, OneDriveAPI api, String accountType)
Local cloud file with edit link.- Parameters:
path-Stringid-Stringtitle-Stringlink-StringeditLink-StringpreviewLink-StringthumbnailLink-Stringtype-StringtypeMode-StringlastUser-Stringauthor-StringcreatedDate-CalendarmodifiedDate-Calendarsize- the sizenode-Nodechanged-Booleanapi- - the one drive apiaccountType-
-
JCRLocalOneDriveFile
public JCRLocalOneDriveFile(String path, String id, String title, String link, String previewLink, String thumbnailLink, String type, String typeMode, String lastUser, String author, Calendar createdDate, Calendar modifiedDate, long size, javax.jcr.Node node, boolean changed, OneDriveAPI api, String accountType)
Local cloud file without edit link.
-
JCRLocalOneDriveFile
public JCRLocalOneDriveFile(String path, String id, String title, String link, String type, String lastUser, String author, Calendar createdDate, Calendar modifiedDate, javax.jcr.Node node, boolean changed, OneDriveAPI api, String accountType)
Local cloud folder (without edit, preview, thumbnail links, type mode and size).
-
-
Method Detail
-
getPreviewLink
public String getPreviewLink()
Gets the preview link.- Specified by:
getPreviewLinkin interfaceorg.exoplatform.services.cms.clouddrives.CloudFile- Overrides:
getPreviewLinkin classorg.exoplatform.services.cms.clouddrives.jcr.JCRLocalCloudFile- Returns:
- the previewLink
-
-