Package com.openkm.sdk4j.impl
Class FilePlanImpl
java.lang.Object
com.openkm.sdk4j.impl.ClientImpl
com.openkm.sdk4j.impl.FilePlanImpl
- All Implemented Interfaces:
BaseFilePlan,Serializable
FilePlanImpl
- Author:
- sochoa
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFind electronic record classes list.findElectronicRecordClassesFilteredBySecurity(int permissions) Find electronic record classes filtered by security list.findFilteredByCodeOrNameFilteredBySecurity(String code, String name, int permissions) Find filtered by code or name filtered by security list.findNodeClassByPk(long ncId) Find node class by pk node class.findSectionFiltered(String code, String name, int permissions) Find section filtered list.Gets all node classes.Gets all sections ordered.getBreadcrumb(long sectionId) Gets node class breadcrumb.getChildrenClasses(long sectionId) Gets children classes.getChildrenClassesFilteredBySecurity(long sectionId, int permissions) Gets children classes filtered by security.getChildrenSections(long parentId) Gets children sections.getChildrenSectionsFilteredBySecurity(long parentId, int permissions) Gets children sections filtered by security.getChildrenSectionsIdByTenantWithChildren(long parentId) Gets children sections id by tenant with children.Gets root sections.getRootSectionsFilteredBySecurity(int permissions) Gets root sections filtered by security.Gets root sections id with children.protected voidsetAuthorizationToken(String authorizationToken) setAuthenticationTokenMethods inherited from class com.openkm.sdk4j.impl.ClientImpl
getClient, getWebTarget, setAuthorizationHeader, setJsessionIdHeader
-
Constructor Details
-
FilePlanImpl
AutomationImpl
-
-
Method Details
-
setAuthorizationToken
setAuthenticationToken -
getRootSections
public List<NodeClassSectionDefinition> getRootSections() throws WebserviceException, DatabaseException, UnknownExceptionDescription copied from interface:BaseFilePlanGets root sections.- Specified by:
getRootSectionsin interfaceBaseFilePlan- Returns:
- the root sections
- Throws:
WebserviceException- the webservice exceptionDatabaseException- the database exceptionUnknownException- the unknown exception
-
getRootSectionsIdWithChildren
public List<Long> getRootSectionsIdWithChildren() throws WebserviceException, DatabaseException, UnknownExceptionDescription copied from interface:BaseFilePlanGets root sections id with children.- Specified by:
getRootSectionsIdWithChildrenin interfaceBaseFilePlan- Returns:
- the root sections id with children
- Throws:
WebserviceException- the webservice exceptionDatabaseException- the database exceptionUnknownException- the unknown exception
-
getRootSectionsFilteredBySecurity
public List<NodeClassSectionDefinition> getRootSectionsFilteredBySecurity(int permissions) throws WebserviceException, DatabaseException, UnknownException Description copied from interface:BaseFilePlanGets root sections filtered by security.- Specified by:
getRootSectionsFilteredBySecurityin interfaceBaseFilePlan- Parameters:
permissions- the permissions- Returns:
- the root sections filtered by security
- Throws:
WebserviceException- the webservice exceptionDatabaseException- the database exceptionUnknownException- the unknown exception
-
getAllSectionsOrdered
public List<NodeClassSectionDefinition> getAllSectionsOrdered() throws WebserviceException, DatabaseException, UnknownExceptionDescription copied from interface:BaseFilePlanGets all sections ordered.- Specified by:
getAllSectionsOrderedin interfaceBaseFilePlan- Returns:
- the all sections ordered
- Throws:
WebserviceException- the webservice exceptionDatabaseException- the database exceptionUnknownException- the unknown exception
-
getChildrenSections
public List<NodeClassSectionDefinition> getChildrenSections(long parentId) throws WebserviceException, DatabaseException, UnknownException Description copied from interface:BaseFilePlanGets children sections.- Specified by:
getChildrenSectionsin interfaceBaseFilePlan- Parameters:
parentId- the parent id- Returns:
- the children sections
- Throws:
WebserviceException- the webservice exceptionDatabaseException- the database exceptionUnknownException- the unknown exception
-
getChildrenSectionsIdByTenantWithChildren
public List<Long> getChildrenSectionsIdByTenantWithChildren(long parentId) throws WebserviceException, DatabaseException, UnknownException Description copied from interface:BaseFilePlanGets children sections id by tenant with children.- Specified by:
getChildrenSectionsIdByTenantWithChildrenin interfaceBaseFilePlan- Parameters:
parentId- the parent id- Returns:
- the children sections id by tenant with children
- Throws:
WebserviceException- the webservice exceptionDatabaseException- the database exceptionUnknownException- the unknown exception
-
getChildrenSectionsFilteredBySecurity
public List<NodeClassSectionDefinition> getChildrenSectionsFilteredBySecurity(long parentId, int permissions) throws WebserviceException, DatabaseException, UnknownException Description copied from interface:BaseFilePlanGets children sections filtered by security.- Specified by:
getChildrenSectionsFilteredBySecurityin interfaceBaseFilePlan- Parameters:
parentId- the parent idpermissions- the permissions- Returns:
- the children sections filtered by security
- Throws:
WebserviceException- the webservice exceptionDatabaseException- the database exceptionUnknownException- the unknown exception
-
getChildrenClasses
public List<NodeClass> getChildrenClasses(long sectionId) throws WebserviceException, DatabaseException, UnknownException Description copied from interface:BaseFilePlanGets children classes.- Specified by:
getChildrenClassesin interfaceBaseFilePlan- Parameters:
sectionId- the section id- Returns:
- the children classes
- Throws:
WebserviceException- the webservice exceptionDatabaseException- the database exceptionUnknownException- the unknown exception
-
getChildrenClassesFilteredBySecurity
public List<NodeClass> getChildrenClassesFilteredBySecurity(long sectionId, int permissions) throws WebserviceException, DatabaseException, UnknownException Description copied from interface:BaseFilePlanGets children classes filtered by security.- Specified by:
getChildrenClassesFilteredBySecurityin interfaceBaseFilePlan- Parameters:
sectionId- the section idpermissions- the permissions- Returns:
- the children classes filtered by security
- Throws:
WebserviceException- the webservice exceptionDatabaseException- the database exceptionUnknownException- the unknown exception
-
findNodeClassByPk
public NodeClass findNodeClassByPk(long ncId) throws WebserviceException, DatabaseException, UnknownException Description copied from interface:BaseFilePlanFind node class by pk node class.- Specified by:
findNodeClassByPkin interfaceBaseFilePlan- Parameters:
ncId- the id- Returns:
- the node class
- Throws:
WebserviceException- the webservice exceptionDatabaseException- the database exceptionUnknownException- the unknown exception
-
findElectronicRecordClasses
public List<NodeClass> findElectronicRecordClasses() throws WebserviceException, DatabaseException, UnknownExceptionDescription copied from interface:BaseFilePlanFind electronic record classes list.- Specified by:
findElectronicRecordClassesin interfaceBaseFilePlan- Returns:
- the list
- Throws:
WebserviceException- the webservice exceptionDatabaseException- the database exceptionUnknownException- the unknown exception
-
findElectronicRecordClassesFilteredBySecurity
public List<NodeClass> findElectronicRecordClassesFilteredBySecurity(int permissions) throws WebserviceException, DatabaseException, UnknownException Description copied from interface:BaseFilePlanFind electronic record classes filtered by security list.- Specified by:
findElectronicRecordClassesFilteredBySecurityin interfaceBaseFilePlan- Parameters:
permissions- the permissions- Returns:
- the list
- Throws:
WebserviceException- the webservice exceptionDatabaseException- the database exceptionUnknownException- the unknown exception
-
findFilteredByCodeOrNameFilteredBySecurity
public List<NodeClass> findFilteredByCodeOrNameFilteredBySecurity(String code, String name, int permissions) throws WebserviceException, DatabaseException, UnknownException Description copied from interface:BaseFilePlanFind filtered by code or name filtered by security list.- Specified by:
findFilteredByCodeOrNameFilteredBySecurityin interfaceBaseFilePlan- Parameters:
code- the codename- the namepermissions- the permissions- Returns:
- the list
- Throws:
WebserviceException- the webservice exceptionDatabaseException- the database exceptionUnknownException- the unknown exception
-
getAllNodeClasses
public List<NodeClass> getAllNodeClasses() throws WebserviceException, DatabaseException, UnknownExceptionDescription copied from interface:BaseFilePlanGets all node classes.- Specified by:
getAllNodeClassesin interfaceBaseFilePlan- Returns:
- the all node classes
- Throws:
WebserviceException- the webservice exceptionDatabaseException- the database exceptionUnknownException- the unknown exception
-
findSectionFiltered
public List<NodeClassSectionDefinition> findSectionFiltered(String code, String name, int permissions) throws WebserviceException, DatabaseException, UnknownException Description copied from interface:BaseFilePlanFind section filtered list.- Specified by:
findSectionFilteredin interfaceBaseFilePlan- Parameters:
code- the codename- the namepermissions- the permissions- Returns:
- the list
- Throws:
WebserviceException- the webservice exceptionDatabaseException- the database exceptionUnknownException- the unknown exception
-
getBreadcrumb
public List<NodeClassSectionDefinition> getBreadcrumb(long sectionId) throws WebserviceException, DatabaseException, UnknownException Description copied from interface:BaseFilePlanGets node class breadcrumb.- Specified by:
getBreadcrumbin interfaceBaseFilePlan- Parameters:
sectionId- the section id- Returns:
- the node class breadcrumb
- Throws:
WebserviceException- the webservice exceptionDatabaseException- the database exceptionUnknownException- the unknown exception
-