Package com.openkm.sdk4j.impl
Class DashboardImpl
- java.lang.Object
-
- com.openkm.sdk4j.impl.ClientImpl
-
- com.openkm.sdk4j.impl.DashboardImpl
-
- All Implemented Interfaces:
BaseDashboard,Serializable
public class DashboardImpl extends ClientImpl implements BaseDashboard, Serializable
DashboardImpl- Author:
- sochoa
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DashboardImpl(String host)DashboardImpl
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DashboardNodeResult>findUserSearches(long qpId)Find user searches list.DashboardResultSetgetUserCheckedOutDocuments(int offset, int limit)Gets user checked out documents.DashboardResultSetgetUserLastCreatedDocuments(int offset, int limit)Gets user last created documents.DashboardResultSetgetUserLastCreatedFolders(int offset, int limit)Gets user last created folders.DashboardResultSetgetUserLastCreatedRecords(int offset, int limit)Gets user last created records.DashboardResultSetgetUserLastDocumentsNotesCreated(int offset, int limit)Gets user last documents notes created.DashboardResultSetgetUserLastDownloadedDocuments(int offset, int limit)Gets user last downloaded documents.DashboardResultSetgetUserLastFoldersNotesCreated(int offset, int limit)Gets user last folders notes created.DashboardResultSetgetUserLastImportedMailAttachments(int offset, int limit)Gets user last imported mail attachments.DashboardResultSetgetUserLastImportedMails(int offset, int limit)Gets user last imported mails.DashboardResultSetgetUserLastMailsNotesCreated(int offset, int limit)Gets user last mails notes created.DashboardResultSetgetUserLastModifiedDocuments(int offset, int limit)Gets user last modified documents.DashboardResultSetgetUserLastRecordsNotesCreated(int offset, int limit)Gets user last records notes created.DashboardResultSetgetUserLockedDocuments(int offset, int limit)Gets user locked documents.DashboardResultSetgetUserLockedFolders(int offset, int limit)Gets user locked folders.DashboardResultSetgetUserLockedMails(int offset, int limit)Gets user locked mails.DashboardResultSetgetUserLockedRecords(int offset, int limit)Gets user locked records.List<QueryParams>getUserSearches()Gets user searches.DashboardResultSetgetUserSubscribedDocuments(int offset, int limit)Gets user subscribed documents.DashboardResultSetgetUserSubscribedFolders(int offset, int limit)Gets user subscribed folders.DashboardResultSetgetUserSubscribedRecords(int offset, int limit)Gets user subscribed records.protected voidsetAuthorizationToken(String authorizationToken)setAuthenticationToken-
Methods inherited from class com.openkm.sdk4j.impl.ClientImpl
getClient, getWebTarget, setAuthorizationHeader, setJsessionIdHeader
-
-
-
-
Constructor Detail
-
DashboardImpl
public DashboardImpl(String host)
DashboardImpl
-
-
Method Detail
-
setAuthorizationToken
protected void setAuthorizationToken(String authorizationToken)
setAuthenticationToken
-
getUserCheckedOutDocuments
public DashboardResultSet getUserCheckedOutDocuments(int offset, int limit) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user checked out documents.- Specified by:
getUserCheckedOutDocumentsin interfaceBaseDashboard- Parameters:
offset- the offsetlimit- the limit- Returns:
- the user checked out documents
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getUserLastModifiedDocuments
public DashboardResultSet getUserLastModifiedDocuments(int offset, int limit) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user last modified documents.- Specified by:
getUserLastModifiedDocumentsin interfaceBaseDashboard- Parameters:
offset- the offsetlimit- the limit- Returns:
- the user last modified documents
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getUserLockedDocuments
public DashboardResultSet getUserLockedDocuments(int offset, int limit) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user locked documents.- Specified by:
getUserLockedDocumentsin interfaceBaseDashboard- Parameters:
offset- the offsetlimit- the limit- Returns:
- the user locked documents
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getUserLockedRecords
public DashboardResultSet getUserLockedRecords(int offset, int limit) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user locked records.- Specified by:
getUserLockedRecordsin interfaceBaseDashboard- Parameters:
offset- the offsetlimit- the limit- Returns:
- the user locked records
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getUserLockedFolders
public DashboardResultSet getUserLockedFolders(int offset, int limit) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user locked folders.- Specified by:
getUserLockedFoldersin interfaceBaseDashboard- Parameters:
offset- the offsetlimit- the limit- Returns:
- the user locked folders
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getUserLockedMails
public DashboardResultSet getUserLockedMails(int offset, int limit) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user locked mails.- Specified by:
getUserLockedMailsin interfaceBaseDashboard- Parameters:
offset- the offsetlimit- the limit- Returns:
- the user locked mails
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getUserSubscribedDocuments
public DashboardResultSet getUserSubscribedDocuments(int offset, int limit) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user subscribed documents.- Specified by:
getUserSubscribedDocumentsin interfaceBaseDashboard- Parameters:
offset- the offsetlimit- the limit- Returns:
- the user subscribed documents
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getUserSubscribedFolders
public DashboardResultSet getUserSubscribedFolders(int offset, int limit) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user subscribed folders.- Specified by:
getUserSubscribedFoldersin interfaceBaseDashboard- Parameters:
offset- the offsetlimit- the limit- Returns:
- the user subscribed folders
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getUserSubscribedRecords
public DashboardResultSet getUserSubscribedRecords(int offset, int limit) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user subscribed records.- Specified by:
getUserSubscribedRecordsin interfaceBaseDashboard- Parameters:
offset- the offsetlimit- the limit- Returns:
- the user subscribed records
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getUserLastCreatedDocuments
public DashboardResultSet getUserLastCreatedDocuments(int offset, int limit) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user last created documents.- Specified by:
getUserLastCreatedDocumentsin interfaceBaseDashboard- Parameters:
offset- the offsetlimit- the limit- Returns:
- the user last created documents
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getUserLastDocumentsNotesCreated
public DashboardResultSet getUserLastDocumentsNotesCreated(int offset, int limit) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user last documents notes created.- Specified by:
getUserLastDocumentsNotesCreatedin interfaceBaseDashboard- Parameters:
offset- the offsetlimit- the limit- Returns:
- the user last documents notes created
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getUserLastCreatedFolders
public DashboardResultSet getUserLastCreatedFolders(int offset, int limit) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user last created folders.- Specified by:
getUserLastCreatedFoldersin interfaceBaseDashboard- Parameters:
offset- the offsetlimit- the limit- Returns:
- the user last created folders
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getUserLastFoldersNotesCreated
public DashboardResultSet getUserLastFoldersNotesCreated(int offset, int limit) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user last folders notes created.- Specified by:
getUserLastFoldersNotesCreatedin interfaceBaseDashboard- Parameters:
offset- the offsetlimit- the limit- Returns:
- the user last folders notes created
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getUserLastCreatedRecords
public DashboardResultSet getUserLastCreatedRecords(int offset, int limit) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user last created records.- Specified by:
getUserLastCreatedRecordsin interfaceBaseDashboard- Parameters:
offset- the offsetlimit- the limit- Returns:
- the user last created records
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getUserLastRecordsNotesCreated
public DashboardResultSet getUserLastRecordsNotesCreated(int offset, int limit) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user last records notes created.- Specified by:
getUserLastRecordsNotesCreatedin interfaceBaseDashboard- Parameters:
offset- the offsetlimit- the limit- Returns:
- the user last records notes created
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getUserLastDownloadedDocuments
public DashboardResultSet getUserLastDownloadedDocuments(int offset, int limit) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user last downloaded documents.- Specified by:
getUserLastDownloadedDocumentsin interfaceBaseDashboard- Parameters:
offset- the offsetlimit- the limit- Returns:
- the user last downloaded documents
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getUserLastImportedMails
public DashboardResultSet getUserLastImportedMails(int offset, int limit) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user last imported mails.- Specified by:
getUserLastImportedMailsin interfaceBaseDashboard- Parameters:
offset- the offsetlimit- the limit- Returns:
- the user last imported mails
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getUserLastMailsNotesCreated
public DashboardResultSet getUserLastMailsNotesCreated(int offset, int limit) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user last mails notes created.- Specified by:
getUserLastMailsNotesCreatedin interfaceBaseDashboard- Parameters:
offset- the offsetlimit- the limit- Returns:
- the user last mails notes created
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getUserLastImportedMailAttachments
public DashboardResultSet getUserLastImportedMailAttachments(int offset, int limit) throws RepositoryException, PathNotFoundException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user last imported mail attachments.- Specified by:
getUserLastImportedMailAttachmentsin interfaceBaseDashboard- Parameters:
offset- the offsetlimit- the limit- Returns:
- the user last imported mail attachments
- Throws:
RepositoryException- the repository exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
getUserSearches
public List<QueryParams> getUserSearches() throws DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardGets user searches.- Specified by:
getUserSearchesin interfaceBaseDashboard- Returns:
- the user searches
- Throws:
DatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
findUserSearches
public List<DashboardNodeResult> findUserSearches(long qpId) throws RepositoryException, ParseException, DatabaseException, AccessDeniedException, WebserviceException, UnknownException
Description copied from interface:BaseDashboardFind user searches list.- Specified by:
findUserSearchesin interfaceBaseDashboard- Parameters:
qpId- the nc id- Returns:
- the list
- Throws:
RepositoryException- the repository exceptionParseException- the parse exceptionDatabaseException- the database exceptionAccessDeniedException- the access denied exceptionWebserviceException- the webservice exceptionUnknownException- the unknown exception
-
-