public class FilePlanImpl extends ClientImpl implements BaseFilePlan, Serializable
| Constructor and Description |
|---|
FilePlanImpl(String host)
FilePlanImpl
|
| Modifier and Type | Method and Description |
|---|---|
List<NodeClass> |
findAllNodeClasses()
Find all node classes list.
|
List<NodeClass> |
findElectronicRecordClasses()
Find electronic record classes list.
|
List<NodeClass> |
findElectronicRecordClassesFilteredBySecurity(int permissions)
Find electronic record classes filtered by security list.
|
List<NodeClass> |
findFilteredByCodeOrNameFilteredBySecurity(String code,
String name,
int permissions)
Find filtered by code or name filtered by security list.
|
NodeClass |
findNodeClassByPk(long ncId)
Find node class by pk node class.
|
List<NodeClassSectionDefinition> |
findSectionFiltered(String code,
String name,
int permissions)
Find section filtered list.
|
List<NodeClass> |
getChildrenClasses(long sectionId)
Gets children classes.
|
List<NodeClass> |
getChildrenClassesFilteredBySecurity(long sectionId,
int permissions)
Gets children classes filtered by security.
|
List<NodeClassSectionDefinition> |
getChildrenSections(long parentId)
Gets children sections.
|
List<NodeClassSectionDefinition> |
getChildrenSectionsFilteredBySecurity(long parentId,
int permissions)
Gets children sections filtered by security.
|
List<Long> |
getChildrenSectionsIdByTenantWithChildren(long parentId)
Gets children sections id by tenant with children.
|
List<NodeClassSectionDefinition> |
getNodeClassBreadcrumb(long sectionId)
Gets node class breadcrumb.
|
List<NodeClassSectionDefinition> |
getRootSections()
Gets root sections.
|
List<NodeClassSectionDefinition> |
getRootSectionsFilteredBySecurity(int permissions)
Gets root sections filtered by security.
|
List<Long> |
getRootSectionsIdWithChildren()
Gets root sections id with children.
|
void |
setAuthorizationToken(String authorizationToken)
setAuthenticationToken
|
getClient, resource, resource, resourcepublic FilePlanImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public List<NodeClassSectionDefinition> getRootSections() throws WebserviceException, DatabaseException, UnknownException
BaseFilePlangetRootSections in interface BaseFilePlanWebserviceException - the webservice exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionpublic List<NodeClassSectionDefinition> getRootSectionsFilteredBySecurity(int permissions) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlangetRootSectionsFilteredBySecurity in interface BaseFilePlanpermissions - the permissionsWebserviceException - the webservice exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionpublic List<NodeClassSectionDefinition> getChildrenSections(long parentId) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlangetChildrenSections in interface BaseFilePlanparentId - the parent idWebserviceException - the webservice exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionpublic List<NodeClassSectionDefinition> getChildrenSectionsFilteredBySecurity(long parentId, int permissions) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlangetChildrenSectionsFilteredBySecurity in interface BaseFilePlanparentId - the parent idpermissions - the permissionsWebserviceException - the webservice exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionpublic List<NodeClass> getChildrenClasses(long sectionId) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlangetChildrenClasses in interface BaseFilePlansectionId - the section idWebserviceException - the webservice exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionpublic List<NodeClass> getChildrenClassesFilteredBySecurity(long sectionId, int permissions) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlangetChildrenClassesFilteredBySecurity in interface BaseFilePlansectionId - the section idpermissions - the permissionsWebserviceException - the webservice exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionpublic NodeClass findNodeClassByPk(long ncId) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlanfindNodeClassByPk in interface BaseFilePlanncId - the idWebserviceException - the webservice exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionpublic List<NodeClass> findElectronicRecordClasses() throws WebserviceException, DatabaseException, UnknownException
BaseFilePlanfindElectronicRecordClasses in interface BaseFilePlanWebserviceException - the webservice exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionpublic List<NodeClass> findElectronicRecordClassesFilteredBySecurity(int permissions) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlanfindElectronicRecordClassesFilteredBySecurity in interface BaseFilePlanpermissions - the permissionsWebserviceException - the webservice exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionpublic List<NodeClass> findFilteredByCodeOrNameFilteredBySecurity(String code, String name, int permissions) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlanfindFilteredByCodeOrNameFilteredBySecurity in interface BaseFilePlancode - the codename - the namepermissions - the permissionsWebserviceException - the webservice exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionpublic List<NodeClassSectionDefinition> findSectionFiltered(String code, String name, int permissions) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlanfindSectionFiltered in interface BaseFilePlancode - the codename - the namepermissions - the permissionsWebserviceException - the webservice exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionpublic List<NodeClassSectionDefinition> getNodeClassBreadcrumb(long sectionId) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlangetNodeClassBreadcrumb in interface BaseFilePlansectionId - the section idWebserviceException - the webservice exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionpublic List<NodeClass> findAllNodeClasses() throws WebserviceException, DatabaseException, UnknownException
BaseFilePlanfindAllNodeClasses in interface BaseFilePlanWebserviceException - the webservice exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionpublic List<Long> getRootSectionsIdWithChildren() throws WebserviceException, DatabaseException, UnknownException
BaseFilePlangetRootSectionsIdWithChildren in interface BaseFilePlanWebserviceException - the webservice exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionpublic List<Long> getChildrenSectionsIdByTenantWithChildren(long parentId) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlangetChildrenSectionsIdByTenantWithChildren in interface BaseFilePlanparentId - the parent idWebserviceException - the webservice exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionCopyright © 2022 Open Knowledge Management System S.L.. All Rights Reserved.