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
FieldsModifier and TypeFieldDescriptionprotected final StringThe Account type.protected final OneDriveAPIThe one drive api.protected static final StringThe constant BUSINESS.protected static final StringThe constant EMPTY_STRING.Fields inherited from class org.exoplatform.services.cms.clouddrives.jcr.JCRLocalCloudFile
FOLDER_SIZEFields inherited from class org.exoplatform.services.cms.clouddrives.LocalCloudFile
LOG -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJCRLocalOneDriveFile(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
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, isFolderMethods inherited from class org.exoplatform.services.cms.clouddrives.LocalCloudFile
getModifiedLocal, getModifiedRemote, initModified, isConnected
-
Field Details
-
BUSINESS
The constant BUSINESS.- See Also:
-
EMPTY_STRING
The constant EMPTY_STRING.- See Also:
-
api
The one drive api. -
accountType
The Account type.
-
-
Constructor Details
-
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 Details
-
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
-