Class CommonRest
- java.lang.Object
-
- com.artisol.teneo.manager.client.rest.AbstractRest
-
- com.artisol.teneo.manager.client.rest.CommonRest
-
- All Implemented Interfaces:
com.artisol.teneo.manager.api.rest.Common
public class CommonRest extends AbstractRest implements com.artisol.teneo.manager.api.rest.Common
-
-
Field Summary
-
Fields inherited from interface com.artisol.teneo.manager.api.rest.Common
DELETE_GROUP_PATH, DELETE_GROUP_SUMMARY, DELETE_LDS_GROUP_ACCESS_ROLES_PATH, DELETE_LDS_GROUP_ACCESS_ROLES_SUMMARY, DELETE_LDS_PATH, DELETE_LDS_SUMMARY, DELETE_LDS_USER_ACCESS_ROLES_PATH, DELETE_LDS_USER_ACCESS_ROLES_SUMMARY, DELETE_LOGARCHIVE_PATH, DELETE_LOGARCHIVE_SUMMARY, DELETE_USER_PATH, DELETE_USER_SUMMARY, GET_GROUP_PATH, GET_GROUP_PRODUCES, GET_GROUP_SUMMARY, GET_GROUPS_PATH, GET_GROUPS_PRODUCES, GET_GROUPS_SUMMARY, GET_LDS_FINAL_USER_ACCESS_ROLES_FOR_TOKEN_PATH, GET_LDS_FINAL_USER_ACCESS_ROLES_FOR_TOKEN_PRODUCES, GET_LDS_FINAL_USER_ACCESS_ROLES_FOR_TOKEN_SUMMARY, GET_LDS_GROUP_ACCESS_ROLES_PATH, GET_LDS_GROUP_ACCESS_ROLES_PRODUCES, GET_LDS_GROUP_ACCESS_ROLES_SUMMARY, GET_LDS_GROUPS_ACCESS_ROLES_PATH, GET_LDS_GROUPS_ACCESS_ROLES_PRODUCES, GET_LDS_GROUPS_ACCESS_ROLES_SUMMARY, GET_LDS_PATH, GET_LDS_PRODUCES, GET_LDS_SUMMARY, GET_LDS_USER_ACCESS_ROLES_PATH, GET_LDS_USER_ACCESS_ROLES_PRODUCES, GET_LDS_USER_ACCESS_ROLES_SUMMARY, GET_LDS_USERS_ACCESS_ROLES_PATH, GET_LDS_USERS_ACCESS_ROLES_PRODUCES, GET_LDS_USERS_ACCESS_ROLES_SUMMARY, GET_LDSS_PATH, GET_LDSS_PRODUCES, GET_LDSS_SUMMARY, GET_LOGARCHIVE_PATH, GET_LOGARCHIVE_PRODUCES, GET_LOGARCHIVE_SUMMARY, GET_LOGARCHIVES_PATH, GET_LOGARCHIVES_PRODUCES, GET_LOGARCHIVES_SUMMARY, GET_USER_INFO_PATH, GET_USER_INFO_PRODUCES, GET_USER_INFO_SUMMARY, GET_USER_PATH, GET_USER_PRODUCES, GET_USER_SUMMARY, GET_USERS_PATH, GET_USERS_PRODUCES, GET_USERS_SUMMARY, PATH, POST_GROUP_CONSUMES, POST_GROUP_PATH, POST_GROUP_PRODUCES, POST_GROUP_SUMMARY, POST_LDS_CONSUMES, POST_LDS_GROUP_ACCESS_ROLES_CONSUMES, POST_LDS_GROUP_ACCESS_ROLES_PATH, POST_LDS_GROUP_ACCESS_ROLES_PRODUCES, POST_LDS_GROUP_ACCESS_ROLES_SUMMARY, POST_LDS_PATH, POST_LDS_PRODUCES, POST_LDS_SUMMARY, POST_LDS_USER_ACCESS_ROLES_CONSUMES, POST_LDS_USER_ACCESS_ROLES_PATH, POST_LDS_USER_ACCESS_ROLES_PRODUCES, POST_LDS_USER_ACCESS_ROLES_SUMMARY, POST_LOGARCHIVE_CONSUMES, POST_LOGARCHIVE_PATH, POST_LOGARCHIVE_PRODUCES, POST_LOGARCHIVE_SUMMARY, POST_USER_CONSUMES, POST_USER_PATH, POST_USER_PRODUCES, POST_USER_SUMMARY, PUT_GROUP_CONSUMES, PUT_GROUP_PATH, PUT_GROUP_PRODUCES, PUT_GROUP_SUMMARY, PUT_LDS_CONSUMES, PUT_LDS_GROUP_ACCESS_ROLES_CONSUMES, PUT_LDS_GROUP_ACCESS_ROLES_PATH, PUT_LDS_GROUP_ACCESS_ROLES_PRODUCES, PUT_LDS_GROUP_ACCESS_ROLES_SUMMARY, PUT_LDS_PATH, PUT_LDS_PRODUCES, PUT_LDS_SUMMARY, PUT_LDS_USER_ACCESS_ROLES_CONSUMES, PUT_LDS_USER_ACCESS_ROLES_PATH, PUT_LDS_USER_ACCESS_ROLES_PRODUCES, PUT_LDS_USER_ACCESS_ROLES_SUMMARY, PUT_LOGARCHIVE_CONSUMES, PUT_LOGARCHIVE_PATH, PUT_LOGARCHIVE_PRODUCES, PUT_LOGARCHIVE_SUMMARY, PUT_USER_CONSUMES, PUT_USER_PASSWORD_CONSUMES, PUT_USER_PASSWORD_PATH, PUT_USER_PASSWORD_SUMMARY, PUT_USER_PATH, PUT_USER_PRODUCES, PUT_USER_SUMMARY
-
-
Constructor Summary
Constructors Constructor Description CommonRest(javax.ws.rs.client.WebTarget pWebTarget, org.slf4j.Marker pMarker)
Constructs aCommonRest
object used to call the common interface
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.artisol.teneo.manager.api.entity.common.Group
createGroup(com.artisol.teneo.manager.api.entity.common.Group pGroup)
com.artisol.teneo.manager.api.entity.common.Lds
createLds(com.artisol.teneo.manager.api.entity.common.Lds pLds)
com.artisol.teneo.manager.api.entity.common.LdsGroupAccessRoles
createLdsGroupAccessRoles(UUID pLdsId, UUID pGroupId, com.artisol.teneo.manager.api.entity.common.LdsGroupAccessRoles pLdsGroupAccessRoles)
com.artisol.teneo.manager.api.entity.common.LdsUserAccessRoles
createLdsUserAccessRoles(UUID pLdsId, UUID pUserId, com.artisol.teneo.manager.api.entity.common.LdsUserAccessRoles pLdsUserAccessRoles)
com.artisol.teneo.manager.api.entity.common.LogArchive
createLogArchive(com.artisol.teneo.manager.api.entity.common.LogArchive pLogArchive)
com.artisol.teneo.manager.api.entity.common.User
createUser(com.artisol.teneo.manager.api.entity.common.User pUser)
void
deleteGroup(UUID pGroupId)
void
deleteLds(UUID pLdsId)
void
deleteLdsGroupAccessRoles(UUID pLdsId, UUID pGroupId)
void
deleteLdsUserAccessRoles(UUID pLdsId, UUID pUserId)
void
deleteLogArchive(UUID pLogArchiveId)
void
deleteUser(UUID pUserId)
List<com.artisol.teneo.manager.api.entity.common.LdsAccessRole>
getFinalLdsUserAccessRolesForToken(UUID pLdsId)
com.artisol.teneo.manager.api.entity.common.Group
getGroup(UUID pGroupId)
List<com.artisol.teneo.manager.api.entity.common.Group>
getGroups()
com.artisol.teneo.manager.api.entity.common.Lds
getLds(UUID pLdsId)
com.artisol.teneo.manager.api.entity.common.LdsGroupAccessRoles
getLdsGroupAccessRoles(UUID pLdsId, UUID pGroupId)
List<com.artisol.teneo.manager.api.entity.common.LdsGroupAccessRoles>
getLdsGroupsAccessRoles(UUID pLdsId)
List<com.artisol.teneo.manager.api.entity.common.Lds>
getLdss()
com.artisol.teneo.manager.api.entity.common.LdsUserAccessRoles
getLdsUserAccessRoles(UUID pLdsId, UUID pUserId)
List<com.artisol.teneo.manager.api.entity.common.LdsUserAccessRoles>
getLdsUsersAccessRoles(UUID pLdsId)
com.artisol.teneo.manager.api.entity.common.LogArchive
getLogArchive(UUID pLogArchiveId)
List<com.artisol.teneo.manager.api.entity.common.LogArchive>
getLogArchives()
com.artisol.teneo.manager.api.entity.common.User
getUser(UUID pUserId)
com.artisol.teneo.manager.api.entity.common.User
getUserInfo()
List<com.artisol.teneo.manager.api.entity.common.User>
getUsers()
void
resetUserPassword(UUID pUserId, String pPassword)
com.artisol.teneo.manager.api.entity.common.Group
updateGroup(UUID pGroupId, com.artisol.teneo.manager.api.entity.common.Group pGroup)
com.artisol.teneo.manager.api.entity.common.Lds
updateLds(UUID pLdsId, com.artisol.teneo.manager.api.entity.common.Lds pLds)
com.artisol.teneo.manager.api.entity.common.LdsGroupAccessRoles
updateLdsGroupAccessRoles(UUID pLdsId, UUID pGroupId, com.artisol.teneo.manager.api.entity.common.LdsGroupAccessRoles pLdsGroupAccessRoles)
com.artisol.teneo.manager.api.entity.common.LdsUserAccessRoles
updateLdsUserAccessRoles(UUID pLdsId, UUID pUserId, com.artisol.teneo.manager.api.entity.common.LdsUserAccessRoles pLdsUserAccessRoles)
com.artisol.teneo.manager.api.entity.common.LogArchive
updateLogArchive(UUID pLogArchiveId, com.artisol.teneo.manager.api.entity.common.LogArchive pLogArchive)
com.artisol.teneo.manager.api.entity.common.User
updateUser(UUID pUserId, com.artisol.teneo.manager.api.entity.common.User pUser)
-
-
-
Constructor Detail
-
CommonRest
public CommonRest(javax.ws.rs.client.WebTarget pWebTarget, org.slf4j.Marker pMarker)
Constructs aCommonRest
object used to call the common interface- Parameters:
pWebTarget
- AWebTarget
instance properly configuredpMarker
- AMarker
to fine tuning logging
-
-
Method Detail
-
getLogArchives
public List<com.artisol.teneo.manager.api.entity.common.LogArchive> getLogArchives() throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
getLogArchives
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
getLogArchive
public com.artisol.teneo.manager.api.entity.common.LogArchive getLogArchive(UUID pLogArchiveId) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
getLogArchive
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
createLogArchive
public com.artisol.teneo.manager.api.entity.common.LogArchive createLogArchive(com.artisol.teneo.manager.api.entity.common.LogArchive pLogArchive) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
createLogArchive
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
updateLogArchive
public com.artisol.teneo.manager.api.entity.common.LogArchive updateLogArchive(UUID pLogArchiveId, com.artisol.teneo.manager.api.entity.common.LogArchive pLogArchive) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
updateLogArchive
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
deleteLogArchive
public void deleteLogArchive(UUID pLogArchiveId) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
deleteLogArchive
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
getLdss
public List<com.artisol.teneo.manager.api.entity.common.Lds> getLdss() throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
getLdss
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
getLds
public com.artisol.teneo.manager.api.entity.common.Lds getLds(UUID pLdsId) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
getLds
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
createLds
public com.artisol.teneo.manager.api.entity.common.Lds createLds(com.artisol.teneo.manager.api.entity.common.Lds pLds) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
createLds
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
updateLds
public com.artisol.teneo.manager.api.entity.common.Lds updateLds(UUID pLdsId, com.artisol.teneo.manager.api.entity.common.Lds pLds) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
updateLds
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
deleteLds
public void deleteLds(UUID pLdsId) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
deleteLds
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
getUsers
public List<com.artisol.teneo.manager.api.entity.common.User> getUsers() throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
getUsers
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
getUserInfo
public com.artisol.teneo.manager.api.entity.common.User getUserInfo() throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
getUserInfo
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
getUser
public com.artisol.teneo.manager.api.entity.common.User getUser(UUID pUserId) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
getUser
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
createUser
public com.artisol.teneo.manager.api.entity.common.User createUser(com.artisol.teneo.manager.api.entity.common.User pUser) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
createUser
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
resetUserPassword
public void resetUserPassword(UUID pUserId, String pPassword) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
resetUserPassword
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
updateUser
public com.artisol.teneo.manager.api.entity.common.User updateUser(UUID pUserId, com.artisol.teneo.manager.api.entity.common.User pUser) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
updateUser
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
deleteUser
public void deleteUser(UUID pUserId) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
deleteUser
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
getGroups
public List<com.artisol.teneo.manager.api.entity.common.Group> getGroups() throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
getGroups
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
getGroup
public com.artisol.teneo.manager.api.entity.common.Group getGroup(UUID pGroupId) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
getGroup
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
createGroup
public com.artisol.teneo.manager.api.entity.common.Group createGroup(com.artisol.teneo.manager.api.entity.common.Group pGroup) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
createGroup
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
updateGroup
public com.artisol.teneo.manager.api.entity.common.Group updateGroup(UUID pGroupId, com.artisol.teneo.manager.api.entity.common.Group pGroup) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
updateGroup
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
deleteGroup
public void deleteGroup(UUID pGroupId) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
deleteGroup
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
getLdsUsersAccessRoles
public List<com.artisol.teneo.manager.api.entity.common.LdsUserAccessRoles> getLdsUsersAccessRoles(UUID pLdsId) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
getLdsUsersAccessRoles
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
getLdsUserAccessRoles
public com.artisol.teneo.manager.api.entity.common.LdsUserAccessRoles getLdsUserAccessRoles(UUID pLdsId, UUID pUserId) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
getLdsUserAccessRoles
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
createLdsUserAccessRoles
public com.artisol.teneo.manager.api.entity.common.LdsUserAccessRoles createLdsUserAccessRoles(UUID pLdsId, UUID pUserId, com.artisol.teneo.manager.api.entity.common.LdsUserAccessRoles pLdsUserAccessRoles) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
createLdsUserAccessRoles
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
updateLdsUserAccessRoles
public com.artisol.teneo.manager.api.entity.common.LdsUserAccessRoles updateLdsUserAccessRoles(UUID pLdsId, UUID pUserId, com.artisol.teneo.manager.api.entity.common.LdsUserAccessRoles pLdsUserAccessRoles) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
updateLdsUserAccessRoles
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
deleteLdsUserAccessRoles
public void deleteLdsUserAccessRoles(UUID pLdsId, UUID pUserId) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
deleteLdsUserAccessRoles
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
getFinalLdsUserAccessRolesForToken
public List<com.artisol.teneo.manager.api.entity.common.LdsAccessRole> getFinalLdsUserAccessRolesForToken(UUID pLdsId) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
getFinalLdsUserAccessRolesForToken
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
getLdsGroupsAccessRoles
public List<com.artisol.teneo.manager.api.entity.common.LdsGroupAccessRoles> getLdsGroupsAccessRoles(UUID pLdsId) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
getLdsGroupsAccessRoles
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
getLdsGroupAccessRoles
public com.artisol.teneo.manager.api.entity.common.LdsGroupAccessRoles getLdsGroupAccessRoles(UUID pLdsId, UUID pGroupId) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
getLdsGroupAccessRoles
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
createLdsGroupAccessRoles
public com.artisol.teneo.manager.api.entity.common.LdsGroupAccessRoles createLdsGroupAccessRoles(UUID pLdsId, UUID pGroupId, com.artisol.teneo.manager.api.entity.common.LdsGroupAccessRoles pLdsGroupAccessRoles) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
createLdsGroupAccessRoles
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
updateLdsGroupAccessRoles
public com.artisol.teneo.manager.api.entity.common.LdsGroupAccessRoles updateLdsGroupAccessRoles(UUID pLdsId, UUID pGroupId, com.artisol.teneo.manager.api.entity.common.LdsGroupAccessRoles pLdsGroupAccessRoles) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
updateLdsGroupAccessRoles
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
deleteLdsGroupAccessRoles
public void deleteLdsGroupAccessRoles(UUID pLdsId, UUID pGroupId) throws com.artisol.teneo.manager.api.exception.RestException
- Specified by:
deleteLdsGroupAccessRoles
in interfacecom.artisol.teneo.manager.api.rest.Common
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
-