Interface ICmsConnection
- All Superinterfaces:
AutoCloseable,Closeable
CMS Connection
- Author:
- I-D Media AG
-
Method Summary
Modifier and TypeMethodDescriptionvoidClose the CMS connectionGet all users from the cms@Nullable StringConnection Id<T> TgetConnectionObject(Class<T> type) Cast generic connection object to CMS specific instance to leave abstraction@Nullable ICmsProjectgetProjectById(String sId) Get a cms project by its id@NotNull ICmsProject[]Get a list of all CMS projects@NotNull StringGet the Requester of this@NotNull Collection<ICmsUser> getUsers(Collection<String> vsUserIds) Get users based on their idbooleanCheck if the CMS is available
-
Method Details
-
getConnectionId
Connection Id- Returns:
-
getRequester
Get the Requester of this- Returns:
-
closeConnection
void closeConnection()Close the CMS connection -
isConnected
boolean isConnected()Check if the CMS is available- Returns:
-
getProjects
Get a list of all CMS projects- Returns:
-
getUsers
Get users based on their id- Parameters:
vsUserIds- User list- Returns:
-
getAllUsers
Get all users from the cms- Returns:
-
getProjectById
Get a cms project by its id- Parameters:
sId-- Returns:
-
getConnectionObject
Cast generic connection object to CMS specific instance to leave abstraction- Type Parameters:
T- Class to cast- Parameters:
type-- Returns:
-