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
public FilePlanImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public List<NodeClassSectionDefinition> getRootSections() throws WebserviceException, DatabaseException, UnknownException
BaseFilePlan
getRootSections
in interface BaseFilePlan
WebserviceException
- the webservice exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionpublic List<NodeClassSectionDefinition> getRootSectionsFilteredBySecurity(int permissions) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlan
getRootSectionsFilteredBySecurity
in interface BaseFilePlan
permissions
- the permissionsWebserviceException
- the webservice exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionpublic List<NodeClassSectionDefinition> getChildrenSections(long parentId) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlan
getChildrenSections
in interface BaseFilePlan
parentId
- the parent idWebserviceException
- the webservice exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionpublic List<NodeClassSectionDefinition> getChildrenSectionsFilteredBySecurity(long parentId, int permissions) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlan
getChildrenSectionsFilteredBySecurity
in interface BaseFilePlan
parentId
- the parent idpermissions
- the permissionsWebserviceException
- the webservice exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionpublic List<NodeClass> getChildrenClasses(long sectionId) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlan
getChildrenClasses
in interface BaseFilePlan
sectionId
- the section idWebserviceException
- the webservice exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionpublic List<NodeClass> getChildrenClassesFilteredBySecurity(long sectionId, int permissions) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlan
getChildrenClassesFilteredBySecurity
in interface BaseFilePlan
sectionId
- the section idpermissions
- the permissionsWebserviceException
- the webservice exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionpublic NodeClass findNodeClassByPk(long ncId) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlan
findNodeClassByPk
in interface BaseFilePlan
ncId
- the idWebserviceException
- the webservice exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionpublic List<NodeClass> findElectronicRecordClasses() throws WebserviceException, DatabaseException, UnknownException
BaseFilePlan
findElectronicRecordClasses
in interface BaseFilePlan
WebserviceException
- the webservice exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionpublic List<NodeClass> findElectronicRecordClassesFilteredBySecurity(int permissions) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlan
findElectronicRecordClassesFilteredBySecurity
in interface BaseFilePlan
permissions
- the permissionsWebserviceException
- the webservice exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionpublic List<NodeClass> findFilteredByCodeOrNameFilteredBySecurity(String code, String name, int permissions) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlan
findFilteredByCodeOrNameFilteredBySecurity
in interface BaseFilePlan
code
- 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
BaseFilePlan
findSectionFiltered
in interface BaseFilePlan
code
- the codename
- the namepermissions
- the permissionsWebserviceException
- the webservice exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionpublic List<NodeClassSectionDefinition> getNodeClassBreadcrumb(long sectionId) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlan
getNodeClassBreadcrumb
in interface BaseFilePlan
sectionId
- the section idWebserviceException
- the webservice exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionpublic List<NodeClass> findAllNodeClasses() throws WebserviceException, DatabaseException, UnknownException
BaseFilePlan
findAllNodeClasses
in interface BaseFilePlan
WebserviceException
- the webservice exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionpublic List<Long> getRootSectionsIdWithChildren() throws WebserviceException, DatabaseException, UnknownException
BaseFilePlan
getRootSectionsIdWithChildren
in interface BaseFilePlan
WebserviceException
- the webservice exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionpublic List<Long> getChildrenSectionsIdByTenantWithChildren(long parentId) throws WebserviceException, DatabaseException, UnknownException
BaseFilePlan
getChildrenSectionsIdByTenantWithChildren
in interface BaseFilePlan
parentId
- the parent idWebserviceException
- the webservice exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionCopyright © 2021 Open Knowledge Management System S.L.. All Rights Reserved.