public class LDRepository extends Object
Constructor and Description |
---|
LDRepository(Folder root,
String sid)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addUser(String user,
boolean readOnly)
Adds a user to the repository.
|
void |
cancelCheckOut(String objectId) |
void |
checkIn(org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId,
Boolean major,
org.apache.chemistry.opencmis.commons.data.Properties properties,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
String checkinComment) |
void |
checkOut(org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId,
org.apache.chemistry.opencmis.commons.spi.Holder<Boolean> contentCopied) |
org.apache.chemistry.opencmis.commons.data.ObjectData |
create(org.apache.chemistry.opencmis.commons.server.CallContext context,
org.apache.chemistry.opencmis.commons.data.Properties properties,
String folderId,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState,
org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)
Create dispatch for AtomPub.
|
String |
createDocument(org.apache.chemistry.opencmis.commons.server.CallContext context,
org.apache.chemistry.opencmis.commons.data.Properties properties,
String folderId,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState)
CMIS createDocument.
|
String |
createFolder(org.apache.chemistry.opencmis.commons.server.CallContext context,
org.apache.chemistry.opencmis.commons.data.Properties properties,
String folderId)
CMIS createFolder.
|
void |
deleteObject(org.apache.chemistry.opencmis.commons.server.CallContext context,
String objectId)
CMIS deleteObject.
|
void |
deleteObjectOrCancelCheckOut(org.apache.chemistry.opencmis.commons.server.CallContext context,
String objectId) |
org.apache.chemistry.opencmis.commons.data.FailedToDeleteData |
deleteTree(org.apache.chemistry.opencmis.commons.server.CallContext context,
String folderId,
Boolean continueOnFailure)
CMIS deleteTree.
|
org.apache.chemistry.opencmis.commons.data.Acl |
getAcl(org.apache.chemistry.opencmis.commons.server.CallContext context,
String objectId)
CMIS getACL.
|
org.apache.chemistry.opencmis.commons.data.AllowableActions |
getAllowableActions(org.apache.chemistry.opencmis.commons.server.CallContext context,
String objectId)
CMIS getAllowableActions.
|
List<org.apache.chemistry.opencmis.commons.data.ObjectData> |
getAllVersions(String objectId) |
org.apache.chemistry.opencmis.commons.data.ObjectInFolderList |
getChildren(org.apache.chemistry.opencmis.commons.server.CallContext context,
String folderId,
String filter,
Boolean includeAllowableActions,
Boolean includePathSegment,
BigInteger maxItems,
BigInteger skipCount,
org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)
CMIS getChildren.
|
org.apache.chemistry.opencmis.commons.data.ContentStream |
getContentStream(org.apache.chemistry.opencmis.commons.server.CallContext context,
String objectId,
BigInteger offset,
BigInteger length)
CMIS getContentStream.
|
org.apache.chemistry.opencmis.commons.data.ObjectData |
getFolderParent(org.apache.chemistry.opencmis.commons.server.CallContext context,
String folderId,
String filter,
org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)
CMIS getFolderParent.
|
String |
getId() |
org.apache.chemistry.opencmis.commons.data.ObjectData |
getObject(org.apache.chemistry.opencmis.commons.server.CallContext context,
String objectId,
String versionServicesId,
String filter,
Boolean includeAllowableActions,
Boolean includeAcl,
org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)
CMIS getObject.
|
org.apache.chemistry.opencmis.commons.data.ObjectData |
getObjectByPath(org.apache.chemistry.opencmis.commons.server.CallContext context,
String path,
String filter,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
CMIS getObjectByPath.
|
org.apache.chemistry.opencmis.commons.server.ObjectInfo |
getObjectInfo(String objectId,
org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler handler) |
List<org.apache.chemistry.opencmis.commons.data.ObjectParentData> |
getObjectParents(org.apache.chemistry.opencmis.commons.server.CallContext context,
String objectId,
String filter,
Boolean includeAllowableActions,
Boolean includeRelativePathSegment,
org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)
CMIS getObjectParents.
|
org.apache.chemistry.opencmis.commons.data.RepositoryInfo |
getRepositoryInfo(org.apache.chemistry.opencmis.commons.server.CallContext context)
CMIS getRepositoryInfo.
|
org.apache.chemistry.opencmis.commons.definitions.TypeDefinition |
getTypeDefinition(org.apache.chemistry.opencmis.commons.server.CallContext context,
String typeId)
CMIS getTypeDefinition.
|
org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList |
getTypesChildren(org.apache.chemistry.opencmis.commons.server.CallContext context,
String typeId,
boolean includePropertyDefinitions,
BigInteger maxItems,
BigInteger skipCount)
CMIS getTypesChildren.
|
List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> |
getTypesDescendants(org.apache.chemistry.opencmis.commons.server.CallContext context,
String typeId,
BigInteger depth,
Boolean includePropertyDefinitions)
CMIS getTypesDescendants.
|
org.apache.chemistry.opencmis.commons.data.ObjectData |
moveObject(org.apache.chemistry.opencmis.commons.server.CallContext context,
org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId,
String targetFolderId,
org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)
CMIS moveObject.
|
org.apache.chemistry.opencmis.commons.data.ObjectList |
query(String statement,
Integer maxItems) |
void |
setTemplateDao(DocumentTemplateDAO templateDao) |
org.apache.chemistry.opencmis.commons.data.ObjectData |
updateProperties(org.apache.chemistry.opencmis.commons.server.CallContext context,
org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId,
org.apache.chemistry.opencmis.commons.data.Properties properties,
org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)
CMIS updateProperties.
|
public void addUser(String user, boolean readOnly)
public org.apache.chemistry.opencmis.commons.data.RepositoryInfo getRepositoryInfo(org.apache.chemistry.opencmis.commons.server.CallContext context)
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList getTypesChildren(org.apache.chemistry.opencmis.commons.server.CallContext context, String typeId, boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount)
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinition getTypeDefinition(org.apache.chemistry.opencmis.commons.server.CallContext context, String typeId)
public List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> getTypesDescendants(org.apache.chemistry.opencmis.commons.server.CallContext context, String typeId, BigInteger depth, Boolean includePropertyDefinitions)
public org.apache.chemistry.opencmis.commons.data.ObjectData create(org.apache.chemistry.opencmis.commons.server.CallContext context, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)
public String createDocument(org.apache.chemistry.opencmis.commons.server.CallContext context, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState)
public String createFolder(org.apache.chemistry.opencmis.commons.server.CallContext context, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId)
public org.apache.chemistry.opencmis.commons.data.ObjectData moveObject(org.apache.chemistry.opencmis.commons.server.CallContext context, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, String targetFolderId, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)
public void deleteObjectOrCancelCheckOut(org.apache.chemistry.opencmis.commons.server.CallContext context, String objectId)
public void deleteObject(org.apache.chemistry.opencmis.commons.server.CallContext context, String objectId)
public org.apache.chemistry.opencmis.commons.data.FailedToDeleteData deleteTree(org.apache.chemistry.opencmis.commons.server.CallContext context, String folderId, Boolean continueOnFailure)
public org.apache.chemistry.opencmis.commons.data.ObjectData updateProperties(org.apache.chemistry.opencmis.commons.server.CallContext context, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, org.apache.chemistry.opencmis.commons.data.Properties properties, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)
public org.apache.chemistry.opencmis.commons.server.ObjectInfo getObjectInfo(String objectId, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler handler)
public void checkOut(org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, org.apache.chemistry.opencmis.commons.spi.Holder<Boolean> contentCopied)
public void cancelCheckOut(String objectId)
public void checkIn(org.apache.chemistry.opencmis.commons.spi.Holder<String> objectId, Boolean major, org.apache.chemistry.opencmis.commons.data.Properties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String checkinComment)
public org.apache.chemistry.opencmis.commons.data.ObjectData getObject(org.apache.chemistry.opencmis.commons.server.CallContext context, String objectId, String versionServicesId, String filter, Boolean includeAllowableActions, Boolean includeAcl, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)
public org.apache.chemistry.opencmis.commons.data.ObjectData getObjectByPath(org.apache.chemistry.opencmis.commons.server.CallContext context, String path, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
public org.apache.chemistry.opencmis.commons.data.AllowableActions getAllowableActions(org.apache.chemistry.opencmis.commons.server.CallContext context, String objectId)
public org.apache.chemistry.opencmis.commons.data.Acl getAcl(org.apache.chemistry.opencmis.commons.server.CallContext context, String objectId)
public org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream(org.apache.chemistry.opencmis.commons.server.CallContext context, String objectId, BigInteger offset, BigInteger length)
public org.apache.chemistry.opencmis.commons.data.ObjectInFolderList getChildren(org.apache.chemistry.opencmis.commons.server.CallContext context, String folderId, String filter, Boolean includeAllowableActions, Boolean includePathSegment, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)
public org.apache.chemistry.opencmis.commons.data.ObjectData getFolderParent(org.apache.chemistry.opencmis.commons.server.CallContext context, String folderId, String filter, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)
public List<org.apache.chemistry.opencmis.commons.data.ObjectParentData> getObjectParents(org.apache.chemistry.opencmis.commons.server.CallContext context, String objectId, String filter, Boolean includeAllowableActions, Boolean includeRelativePathSegment, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)
public org.apache.chemistry.opencmis.commons.data.ObjectList query(String statement, Integer maxItems)
public List<org.apache.chemistry.opencmis.commons.data.ObjectData> getAllVersions(String objectId)
public String getId()
public void setTemplateDao(DocumentTemplateDAO templateDao)
Copyright © 2008-2014 Logical Objects. All Rights Reserved.