public class LuiServiceImpl extends Object implements LuiService
Constructor and Description |
---|
LuiServiceImpl() |
Modifier and Type | Method and Description |
---|---|
LuiInfo |
createLui(String cluId,
String atpId,
String luiTypeKey,
LuiInfo luiInfo,
ContextInfo context)
Creates a new LUI.
|
LuiCapacityInfo |
createLuiCapacity(String luiCapacityTypeKey,
LuiCapacityInfo luiCapacityInfo,
ContextInfo context)
Creates a new LuiCapacity.
|
LuiLuiRelationInfo |
createLuiLuiRelation(String luiId,
String relatedLuiId,
String luiLuiRelationTypeKey,
LuiLuiRelationInfo luiLuiRelationInfo,
ContextInfo context)
Create new LuiLuiRelation.
|
LuiSetInfo |
createLuiSet(String luiSetTypeKey,
LuiSetInfo luiSetInfo,
ContextInfo contextInfo)
Creates a Lui set.
|
StatusInfo |
deleteLui(String luiId,
ContextInfo context)
Deletes an existing Lui.
|
StatusInfo |
deleteLuiCapacity(String luiCapacityId,
ContextInfo context)
Deletes an existing LuiCapacity.
|
StatusInfo |
deleteLuiLuiRelation(String luiLuiRelationId,
ContextInfo context)
Deletes an existing LuiLuiRelation.
|
StatusInfo |
deleteLuiSet(String luiSetId,
ContextInfo contextInfo)
Delete a Lui set
|
CriteriaLookupService |
getCriteriaLookupService() |
LuiInfo |
getLui(String luiId,
ContextInfo context)
Retrieves a single Lui by a Lui Id.
|
List<LuiCapacityInfo> |
getLuiCapacitiesByIds(List<String> luiCapacityIds,
ContextInfo context)
Retrieves a list of LuiCapacity from a list of LuiCapacity
Ids.
|
List<LuiCapacityInfo> |
getLuiCapacitiesByLui(String luiId,
ContextInfo context)
Retrieves LuiCapacities associated with a Lui.
|
LuiCapacityInfo |
getLuiCapacity(String luiCapacityId,
ContextInfo context)
Retrieves a single LuiCapacity by a LuiCapacity Id.
|
List<String> |
getLuiCapacityIdsByType(String luiCapacityTypeKey,
ContextInfo context)
Retrieves a list of LuiCapacity Ids by LuiCapacity Type.
|
LuiDao |
getLuiDao() |
List<String> |
getLuiIdsByAtpAndClu(String cluId,
String atpId,
ContextInfo context)
Retrieves the list of Lui Ids for the specified Clu and Time
period.
|
List<String> |
getLuiIdsByAtpAndType(String atpId,
String typeKey,
ContextInfo context)
Retrieves the list of Lui Ids for the specified atp and Lui
Type.
|
List<String> |
getLuiIdsByClu(String cluId,
ContextInfo context)
Retrieves a list of Lui Ids by Clu.
|
List<String> |
getLuiIdsByLuiAndRelationType(String luiId,
String luiLuiRelationTypeKey,
ContextInfo context)
Retrieves the list of related LUI Ids for the specified LUI Id
and LU to LU relation type.
|
List<String> |
getLuiIdsByRelatedLuiAndRelationType(String relatedLuiId,
String luiLuiRelationTypeKey,
ContextInfo context)
Retrieves a list of LUI Ids for the specified related LUI Id
and LU to LU relation type (getRelatedLuiIdsByLuiId from the
other direction).
|
List<String> |
getLuiIdsByType(String luiTypeKey,
ContextInfo context)
Retrieves a list of Lui Ids by Lui Type.
|
List<String> |
getLuiIdsFromLuiSet(String luiSetId,
ContextInfo contextInfo)
Retrieves the list of Lui Identifiers within a Lui Set.
|
LuiLuiRelationInfo |
getLuiLuiRelation(String luiLuiRelationId,
ContextInfo context)
Retrieves a single LuiLuiRelation by a LuiLuiRelation Id.
|
LuiLuiRelationDao |
getLuiLuiRelationDao() |
List<String> |
getLuiLuiRelationIdsByType(String luiLuiRelationTypeKey,
ContextInfo context)
Retrieves a list of LuiLuiRelation Ids by a LuiLuiRelation
Type.
|
List<LuiLuiRelationInfo> |
getLuiLuiRelationsByIds(List<String> luiLuiRelationIds,
ContextInfo context)
Retrieves a list of LuiLuiRelations from a list of
LuiLuiRelation Ids.
|
List<LuiLuiRelationInfo> |
getLuiLuiRelationsByLui(String luiId,
ContextInfo context)
Retrieves all LuiLuiRelations to the given Lui.
|
List<LuiLuiRelationInfo> |
getLuiLuiRelationsByLuiAndRelatedLui(String luiId,
String relatedLuiId,
ContextInfo context)
Retrieves all LuiLuiRelations between the given Luis.
|
List<LuiInfo> |
getLuiLuiRelationsByLuiAndRelatedLuiType(String luiId,
String relatedLuiTypeKey,
ContextInfo contextInfo)
Retrieves all LuiLuiRelations between a Lui and Luis of the
given Lui Type.
|
List<LuiInfo> |
getLuisByAtpAndClu(String cluId,
String atpId,
ContextInfo context)
Retrieves the list of Luis for the specified Clu and Atp.
|
List<LuiInfo> |
getLuisByAtpAndType(String atpId,
String luiTypeKey,
ContextInfo contextInfo)
Retrieves the list of Luis for the specified atp and Lui Type.
|
List<LuiInfo> |
getLuisByIds(List<String> luiIds,
ContextInfo context)
Retrieves a list of Luis from a list of Lui Ids.
|
List<LuiInfo> |
getLuisByRelatedLuiAndRelationType(String relatedLuiId,
String luiLuiRelationTypeKey,
ContextInfo context)
Retrieves the list of LUI information for the LUIs related to
the specified LUI Id with a certain LU to LU relation type.
|
LuiSetInfo |
getLuiSet(String luiSetId,
ContextInfo contextInfo)
Retrieves information on a Lui set.
|
LuiSetDao |
getLuiSetDao() |
List<String> |
getLuiSetIdsByType(String luiSetTypeKey,
ContextInfo contextInfo)
Retrieves a list of LuiSet Ids by Lui Type.
|
List<LuiSetInfo> |
getLuiSetsByIds(List<String> luiSetIds,
ContextInfo contextInfo)
Retrieve information on Lui sets from a list of LuiSet Ids.
|
List<LuiSetInfo> |
getLuiSetsByLui(String luiId,
ContextInfo contextInfo)
Given a Lui, retrieves the LuiSets that it belongs to.
|
List<LuiInfo> |
getRelatedLuisByLuiAndRelationType(String luiId,
String luiLuiRelationTypeKey,
ContextInfo context)
Retrieves the list of related LUI information for the specified
LUI Id and LU to LU relation type (getLuisByRelatedLuiAndRelationType from the
other direction).
|
List<LuiCapacityInfo> |
searchForLuiCapacities(QueryByCriteria criteria,
ContextInfo context)
Searches for LuiCapacities that meet the search criteria and
returns a list of LuiCapacities that meet the criteria.
|
List<String> |
searchForLuiCapacityIds(QueryByCriteria criteria,
ContextInfo context)
Searches for LuiCapacities that meet the search criteria and
returns a list of LuiCapacity identifiers that meet the
criteria.
|
List<String> |
searchForLuiIds(QueryByCriteria criteria,
ContextInfo context)
Searches for Luis that meet the given search criteria and
returns a list of Lui identifiers that meet the criteria.
|
List<String> |
searchForLuiLuiRelationIds(QueryByCriteria criteria,
ContextInfo context)
Searches for LuiLuiRelations that meet the search criteria and
returns a list of LuiLuiRelation identifiers that meet the
criteria.
|
List<LuiLuiRelationInfo> |
searchForLuiLuiRelations(QueryByCriteria criteria,
ContextInfo context)
Searches for LuiLuiRelations that meet the search criteria and
returns a list of LuiLuiRelations that meet the criteria.
|
List<LuiInfo> |
searchForLuis(QueryByCriteria criteria,
ContextInfo context)
Searches for Luis that meet the given search criteria.
|
void |
setCriteriaLookupService(CriteriaLookupService criteriaLookupService) |
void |
setLuiDao(LuiDao luiDao) |
void |
setLuiLuiRelationDao(LuiLuiRelationDao luiLuiRelationDao) |
void |
setLuiSetDao(LuiSetDao luiSetDao) |
LuiInfo |
updateLui(String luiId,
LuiInfo luiInfo,
ContextInfo context)
Updates an existing Lui.
|
LuiCapacityInfo |
updateLuiCapacity(String luiCapacityId,
LuiCapacityInfo luiCapacityInfo,
ContextInfo context)
Updates an existing LuiCapacity.
|
LuiLuiRelationInfo |
updateLuiLuiRelation(String luiLuiRelationId,
LuiLuiRelationInfo luiLuiRelationInfo,
ContextInfo context)
Updates an existing LuiLuiRelation.
|
LuiSetInfo |
updateLuiSet(String luiSetId,
LuiSetInfo luiSetInfo,
ContextInfo contextInfo)
Update the information for a Lui set
|
List<ValidationResultInfo> |
validateLui(String validationTypeKey,
String luiTypeKey,
String cluId,
String atpId,
LuiInfo luiInfo,
ContextInfo context)
Validates a Lui.
|
List<ValidationResultInfo> |
validateLuiCapacity(String validationTypeKey,
String luiCapacityTypeKey,
LuiCapacityInfo luiCapacityInfo,
ContextInfo context)
Validates a LuiCapacity.
|
List<ValidationResultInfo> |
validateLuiLuiRelation(String validationTypeKey,
String luiId,
String relatedLuiId,
String luiLuiRelationTypeKey,
LuiLuiRelationInfo luiLuiRelationInfo,
ContextInfo context)
Validates a LuiLuiRelations.
|
List<ValidationResultInfo> |
validateLuiSet(String validationTypeKey,
String luiSetTypeKey,
LuiSetInfo LuiSetInfo,
ContextInfo contextInfo)
Validates information about a Lui set.
|
public LuiServiceImpl()
public LuiSetDao getLuiSetDao()
public void setLuiSetDao(LuiSetDao luiSetDao)
public CriteriaLookupService getCriteriaLookupService()
public void setCriteriaLookupService(CriteriaLookupService criteriaLookupService)
public LuiLuiRelationDao getLuiLuiRelationDao()
public void setLuiLuiRelationDao(LuiLuiRelationDao luiLuiRelationDao)
@Transactional(readOnly=true) public LuiInfo getLui(String luiId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLui
in interface LuiService
luiId
- the identifier for the Lui to be retrievedcontext
- information containing the principalId and
locale information about the caller of service operationDoesNotExistException
- luiId not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- luiId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LuiInfo> getLuisByIds(List<String> luiIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuisByIds
in interface LuiService
luiIds
- a list of Lui identifierscontext
- information containing the principalId and
locale information about the caller of service operationDoesNotExistException
- a luiId in the list was not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- luiIds, an Id in luiIds, or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<String> getLuiIdsByType(String luiTypeKey, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiIdsByType
in interface LuiService
luiTypeKey
- an identifier for a Lui Typecontext
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- luiTypeKey or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<String> getLuiIdsByClu(String cluId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiIdsByClu
in interface LuiService
cluId
- an identifier for the Clucontext
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- cluId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<String> getLuiIdsByAtpAndType(String atpId, String typeKey, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiIdsByAtpAndType
in interface LuiService
atpId
- an identifier for the AtptypeKey
- an identifier for the Lui Typecontext
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- atpId, luiTypeKey, or contextInfo
is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LuiInfo> getLuisByAtpAndType(String atpId, String luiTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuisByAtpAndType
in interface LuiService
atpId
- an identifier for the AtpluiTypeKey
- an identifier for the Lui TypecontextInfo
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- atpId, luiTypeKey, or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<String> getLuiIdsByAtpAndClu(String cluId, String atpId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiIdsByAtpAndClu
in interface LuiService
cluId
- an identifier for the CluatpId
- an identifier for the Atpcontext
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- cluId, atpId, or contextInfo
is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LuiInfo> getLuisByAtpAndClu(String cluId, String atpId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuisByAtpAndClu
in interface LuiService
cluId
- an identifier for the CluatpId
- an identifier for the Atpcontext
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- cluId, atpId, or contextInfo
is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<String> searchForLuiIds(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
searchForLuiIds
in interface LuiService
criteria
- the search criteriacontext
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- criteria or contextInfo is
not validMissingParameterException
- criteria or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LuiInfo> searchForLuis(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
searchForLuis
in interface LuiService
criteria
- the search criteriacontext
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- criteria or contextInfo is
not validMissingParameterException
- criteria or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<ValidationResultInfo> validateLui(String validationTypeKey, String luiTypeKey, String cluId, String atpId, LuiInfo luiInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
validateLui
in interface LuiService
validationTypeKey
- the identifier for the validation TypeluiTypeKey
- the identifier for the Clu to which the Lui is
attachedcluId
- the identifier for the Atp to which the Lui if
offeredatpId
- the identifier for the Lui TypeluiInfo
- the object to be validatedcontext
- information containing the principalId and
locale information about the caller of service operationDoesNotExistException
- validationTypeKey, cluId, atpId,
or luiTypeKey is not foundInvalidParameterException
- luiInfo or contextInfo is not
validMissingParameterException
- validationTypeKey, cluId,
atpId, luiTypeKey, luiInfo, or contextInfo is missing
or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public LuiInfo createLui(String cluId, String atpId, String luiTypeKey, LuiInfo luiInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
LuiService
createLui
in interface LuiService
cluId
- the identifier for the CluatpId
- the identifier for the AtpluiTypeKey
- an identifier for the Type of the new LuiluiInfo
- the data with which to create the Luicontext
- information containing the principalId and
locale information about the caller of service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- cluId, atpId, or luiTypeKey is
not foundInvalidParameterException
- luiInfo or contextInfo is not validMissingParameterException
- cluId, atpId, luiTypeKey,
luiInfo, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredReadOnlyException
- an attempt at supplying information
designated as read only@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public LuiInfo updateLui(String luiId, LuiInfo luiInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
LuiService
updateLui
in interface LuiService
luiId
- the identifier for the LUI to be updatedluiInfo
- the new data for the Luicontext
- information containing the principalId and
locale information about the caller of service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- luiId not foundInvalidParameterException
- luiInfo or contextInfo is not validMissingParameterException
- luiId, luiInfo, or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredReadOnlyException
- an attempt at changing information
designated as read onlyVersionMismatchException
- optimistic locking failure or
the action was attempted on an out of date version@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteLui(String luiId, ContextInfo context) throws DependentObjectsExistException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
deleteLui
in interface LuiService
luiId
- the identifier for the LUI to be deletedcontext
- information containing the principalId and
locale information about the caller of service operationDependentObjectsExistException
- the delete operation
would leave orphaned objects or violate integrity
constraintsDoesNotExistException
- luiId not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- luiId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public LuiLuiRelationInfo getLuiLuiRelation(String luiLuiRelationId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiLuiRelation
in interface LuiService
luiLuiRelationId
- a unique identifier for the
LuiLuiRelation to be retrievedcontext
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- luiLuiRetaionId or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LuiLuiRelationInfo> getLuiLuiRelationsByIds(List<String> luiLuiRelationIds, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiLuiRelationsByIds
in interface LuiService
luiLuiRelationIds
- a list of LuiLuiRelation identifierscontext
- Context information containing the principalId
and locale information about the caller of
service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- luiLuiRelationIds, a
luiLuiRelationId in luiLuiRelationIds, or contextInfo
is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<String> getLuiLuiRelationIdsByType(String luiLuiRelationTypeKey, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiLuiRelationIdsByType
in interface LuiService
luiLuiRelationTypeKey
- an identifier for a LuiLuiRelation
Typecontext
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- luiLuiRelationTypeKey or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LuiLuiRelationInfo> getLuiLuiRelationsByLui(String luiId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiLuiRelationsByLui
in interface LuiService
luiId
- a unique identifier of the LUIcontext
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- luiId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LuiLuiRelationInfo> getLuiLuiRelationsByLuiAndRelatedLui(String luiId, String relatedLuiId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiLuiRelationsByLuiAndRelatedLui
in interface LuiService
luiId
- a unique identifier of the LUIrelatedLuiId
- a unique identifier of another LUIcontext
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- luiId, relatedLuiId, or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LuiInfo> getLuiLuiRelationsByLuiAndRelatedLuiType(String luiId, String relatedLuiTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiLuiRelationsByLuiAndRelatedLuiType
in interface LuiService
luiId
- a unique identifier for the LuirelatedLuiTypeKey
- a unique identifier for a Lui TypecontextInfo
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- luiId, relatedLuiTypeKey, or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LuiInfo> getLuisByRelatedLuiAndRelationType(String relatedLuiId, String luiLuiRelationTypeKey, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuisByRelatedLuiAndRelationType
in interface LuiService
relatedLuiId
- identifier of the LUIluiLuiRelationTypeKey
- the LU to LU relation typecontext
- Context information containing the principalId
and locale information about the caller of service
operationInvalidParameterException
- invalid parameterMissingParameterException
- missing paremeterOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<String> getLuiIdsByRelatedLuiAndRelationType(String relatedLuiId, String luiLuiRelationTypeKey, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiIdsByRelatedLuiAndRelationType
in interface LuiService
relatedLuiId
- identifier of the LUIluiLuiRelationTypeKey
- the LU to LU relation typecontext
- Context information containing the principalId
and locale information about the caller of service
operationInvalidParameterException
- invalid parameterMissingParameterException
- missing parameterOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<String> getLuiIdsByLuiAndRelationType(String luiId, String luiLuiRelationTypeKey, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiIdsByLuiAndRelationType
in interface LuiService
luiId
- identifier of the LUIluiLuiRelationTypeKey
- the LU to LU relation typecontext
- Context information containing the principalId
and locale information about the caller of service
operationInvalidParameterException
- invalid parameterMissingParameterException
- missing parameterOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LuiInfo> getRelatedLuisByLuiAndRelationType(String luiId, String luiLuiRelationTypeKey, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getRelatedLuisByLuiAndRelationType
in interface LuiService
luiId
- identifier of the LUIluiLuiRelationTypeKey
- the LU to LU relation typecontext
- Context information containing the principalId
and locale information about the caller of service
operationInvalidParameterException
- invalid luiId, luiLuiRelationTypeKeyMissingParameterException
- missing luiId, luiLuiRelationTypeKeyOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<String> searchForLuiLuiRelationIds(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
searchForLuiLuiRelationIds
in interface LuiService
criteria
- the search criteriacontext
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- criteria or contextInfo is
not validMissingParameterException
- criteria or contextInfo is
missing os nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LuiLuiRelationInfo> searchForLuiLuiRelations(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
searchForLuiLuiRelations
in interface LuiService
criteria
- the search criteriacontext
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- criteria or contextInfo is
not validMissingParameterException
- criteria or contextInfo is
missing os nullPermissionDeniedException
- an authorization failure occurredOperationFailedException
@Transactional(readOnly=true) public List<ValidationResultInfo> validateLuiLuiRelation(String validationTypeKey, String luiId, String relatedLuiId, String luiLuiRelationTypeKey, LuiLuiRelationInfo luiLuiRelationInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
LuiService
validateLuiLuiRelation
in interface LuiService
validationTypeKey
- the identifier for the validation TypeluiId
- the identifier for the LuirelatedLuiId
- the identifier for the related LuiluiLuiRelationTypeKey
- the identifier for LuiLuiRelation TypeluiLuiRelationInfo
- the LuiLuiRelation to ve validatedcontext
- information containing the principalId and
locale information about the caller of service operationDoesNotExistException
- validationTypeKey, luiId,
relatedLuiId, or luiLuiRelationTypeKey is not foundInvalidParameterException
- luiLuiRelationInfo or
contextInfo is missing or nullMissingParameterException
- validationTypeKey, luiId,
relatedLuiId, luiLuiRelationTypeKey,
luiLuiRelationInfo, or contextInfo is missing or nullOperationFailedException
- unable to complete request@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public LuiLuiRelationInfo createLuiLuiRelation(String luiId, String relatedLuiId, String luiLuiRelationTypeKey, LuiLuiRelationInfo luiLuiRelationInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
LuiService
createLuiLuiRelation
in interface LuiService
luiId
- identifier of the first LUI in the relationshiprelatedLuiId
- identifier of the second LUI in the
relationship to be relatedluiLuiRelationTypeKey
- a unique key fo rthe Type or new
LuiLuiRelationluiLuiRelationInfo
- the data with which to create the
LuiLuiRelationcontext
- information containing the principalId and
locale information about the caller of service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- luiId, relatedLuiId, or
luiLuiRelationTypeKey is not foundInvalidParameterException
- luiLuiRelationInfo ro
contextInfo is not validMissingParameterException
- luiId, relatedLuiId,
luiLuiRelationTypeKey, luiLuiRelationInfo, or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredReadOnlyException
- an attempt at supplying information
designated as read only@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public LuiLuiRelationInfo updateLuiLuiRelation(String luiLuiRelationId, LuiLuiRelationInfo luiLuiRelationInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
LuiService
updateLuiLuiRelation
in interface LuiService
luiLuiRelationId
- the identifier for the LuiLuiRelation
to be updatedluiLuiRelationInfo
- the new data for the LuiLuiRelationcontext
- information containing the principalId and
locale information about the caller of service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- luiLuiRelationId is not foundInvalidParameterException
- luiLuiRelationInfo or contextInfo
is not validMissingParameterException
- luiLuiRelationId,
luiLuiRelationInfo, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredReadOnlyException
- an attempt at changing information
designated as read onlyVersionMismatchException
- optimistic locking failure or
the action was attempted on an out of date version@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteLuiLuiRelation(String luiLuiRelationId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
deleteLuiLuiRelation
in interface LuiService
luiLuiRelationId
- identifier or the LuiLuiRelation to be
deletedcontext
- information containing the principalId and
locale information about the caller of service operationDoesNotExistException
- luiLuiRelationId not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- luiLuiRelationId
or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public LuiCapacityInfo getLuiCapacity(String luiCapacityId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiCapacity
in interface LuiService
luiCapacityId
- the identifier for the LuiCapacity to be
retrievedcontext
- information containing the principalId and
locale information about the caller of service operationDoesNotExistException
- luiCapacityId not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- luiCapacityId or contextInfo
is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LuiCapacityInfo> getLuiCapacitiesByIds(List<String> luiCapacityIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiCapacitiesByIds
in interface LuiService
luiCapacityIds
- a list of LuiCapacity identifierscontext
- information containing the principalId and
locale information about the caller of service operationDoesNotExistException
- a luiCapacityId in the list was
not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- luiCapacityIds, an Id in
luiCapacityIds, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LuiCapacityInfo> getLuiCapacitiesByLui(String luiId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiCapacitiesByLui
in interface LuiService
luiId
- a unique identifier for a Luicontext
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- luiId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<String> getLuiCapacityIdsByType(String luiCapacityTypeKey, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiCapacityIdsByType
in interface LuiService
luiCapacityTypeKey
- a unique identifier for a LuiCapacity Typecontext
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- luiCapacityTypeKey or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<String> searchForLuiCapacityIds(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
searchForLuiCapacityIds
in interface LuiService
criteria
- the search criteriacontext
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- criteria or contextInfo is
not validMissingParameterException
- criteria or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<LuiCapacityInfo> searchForLuiCapacities(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
searchForLuiCapacities
in interface LuiService
criteria
- the search criteriacontext
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- criteria or contextInfo is
not validMissingParameterException
- criteria or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<ValidationResultInfo> validateLuiCapacity(String validationTypeKey, String luiCapacityTypeKey, LuiCapacityInfo luiCapacityInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
validateLuiCapacity
in interface LuiService
validationTypeKey
- the identifier for the validation TypeluiCapacityInfo
- the LuiCapacity to be validatedcontext
- information containing the principalId and
locale information about the caller of service operationDoesNotExistException
- validationTypeKey or
luiCapacityTypeKey not foundInvalidParameterException
- luiInfo or contextInfo is not
validMissingParameterException
- validationTypeKey, luiInfo,
or contextInfo is missing or nullPermissionDeniedException
- an authorization failure occurredOperationFailedException
@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public LuiCapacityInfo createLuiCapacity(String luiCapacityTypeKey, LuiCapacityInfo luiCapacityInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
LuiService
createLuiCapacity
in interface LuiService
luiCapacityTypeKey
- an identifier for the Type of the new
LuiCapacityluiCapacityInfo
- the data with which to create the
LuiCapacitycontext
- information containing the principalId and
locale information about the caller of service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- luiCapacityTypeKey not foundInvalidParameterException
- luiCapacityInfo or
contextInfo is not validMissingParameterException
- luiCapacityTypeKey,
luiCapacityInfo, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredReadOnlyException
- an attempt at supplying information
designated as read only@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public LuiCapacityInfo updateLuiCapacity(String luiCapacityId, LuiCapacityInfo luiCapacityInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
LuiService
updateLuiCapacity
in interface LuiService
luiCapacityId
- the identifier for the LuiCapacity to be
updatedluiCapacityInfo
- the new data for the LuiCapacitycontext
- information containing the principalId and
locale information about the caller of service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- luiCapacityId not foundInvalidParameterException
- luiCapacityInfo or contextInfo
is not validMissingParameterException
- luiCapacityId,
luiCapacityInfo, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredReadOnlyException
- an attempt at changing information
designated as read onlyVersionMismatchException
- optimistic locking failure or
the action was attempted on an out of date version@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteLuiCapacity(String luiCapacityId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
deleteLuiCapacity
in interface LuiService
luiCapacityId
- the identifier for the LuiCapacity to be
deletedcontext
- information containing the principalId and
locale information about the caller of service operationDoesNotExistException
- luiCapacityId not foundInvalidParameterException
- contextInfo is invalidMissingParameterException
- luiCapacityId or contextInfo
is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic LuiSetInfo getLuiSet(String luiSetId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiSet
in interface LuiService
luiSetId
- Identifier of the Lui setcontextInfo
- Context information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- LuiSetId not foundInvalidParameterException
- invalid contextInfoMissingParameterException
- missing LuiSetId or contextInfoOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<LuiSetInfo> getLuiSetsByIds(List<String> luiSetIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiSetsByIds
in interface LuiService
luiSetIds
- List of identifiers of Lui setscontextInfo
- Context information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- One or more LuiSets not foundInvalidParameterException
- invalid contextInfoMissingParameterException
- missing LuiSetIds or contextInfoOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<String> getLuiIdsFromLuiSet(String luiSetId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiIdsFromLuiSet
in interface LuiService
luiSetId
- Identifier of the Lui setcontextInfo
- Context information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- LuiSetId not foundInvalidParameterException
- invalid contextInfoMissingParameterException
- missing LuiSetId or contextInfoOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<ValidationResultInfo> validateLuiSet(String validationTypeKey, String luiSetTypeKey, LuiSetInfo LuiSetInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
validateLuiSet
in interface LuiService
validationTypeKey
- identifier of the extent of validationluiSetTypeKey
- type of the Lui set to be createdLuiSetInfo
- Lui set information to be tested.contextInfo
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- validationTypeKey or LuiSetTypeKey not
foundInvalidParameterException
- invalid LuiSetInfo or contextInfoMissingParameterException
- missing validationTypeKey, LuiSetTypeKey,
LuiSetInfo or contextInfoOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic LuiSetInfo createLuiSet(String luiSetTypeKey, LuiSetInfo luiSetInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, UnsupportedActionException
LuiService
createLuiSet
in interface LuiService
luiSetTypeKey
- type of the Lui set to be createdluiSetInfo
- information required to create a Lui setcontextInfo
- Context information containing the principalId and
locale information about the caller of service
operationDataValidationErrorException
- data validation errorDoesNotExistException
- LuiSetTypeKey not foundInvalidParameterException
- invalid LuiSetInfo or contextInfoMissingParameterException
- missing LuiSetTypeKey, LuiSetInfo or
contextInfoOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureReadOnlyException
- an attempt at supplying information
designated as read onlyUnsupportedActionException
- Lui set need to be static or dynamic
but not bothpublic LuiSetInfo updateLuiSet(String luiSetId, LuiSetInfo luiSetInfo, ContextInfo contextInfo) throws CircularRelationshipException, DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, UnsupportedActionException, VersionMismatchException
LuiService
updateLuiSet
in interface LuiService
luiSetId
- identifier of the Lui set to be updatedluiSetInfo
- updated information about the Lui setcontextInfo
- Context information containing the principalId and
locale information about the caller of service
operationCircularRelationshipException
- added LuiSetId cannot be added to
the LuiSetInfoDataValidationErrorException
- data validation errorDoesNotExistException
- LuiSetId not foundInvalidParameterException
- invalid LuiSetInfo or contextInfoMissingParameterException
- missing LuiSetId, LuiSetInfo or
contextInfoOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureReadOnlyException
- an attempt at supplying information
designated as read onlyUnsupportedActionException
- Lui set need to be static or
dynamic but not bothVersionMismatchException
- an optimistic locking failure or
the action was attempted on an out
of date versionpublic StatusInfo deleteLuiSet(String luiSetId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
deleteLuiSet
in interface LuiService
luiSetId
- identifier of the Lui set to be deletedcontextInfo
- Context information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- LuiSetId not foundInvalidParameterException
- invalid contextInfoMissingParameterException
- missing LuiSetId or contextInfoOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<LuiSetInfo> getLuiSetsByLui(String luiId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiSetsByLui
in interface LuiService
luiId
- the identifier for the LuicontextInfo
- Context information containing the principalId and
locale information about the caller of service
operationInvalidParameterException
- invalid contextInfoMissingParameterException
- missing luiId or contextInfoOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<String> getLuiSetIdsByType(String luiSetTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
LuiService
getLuiSetIdsByType
in interface LuiService
luiSetTypeKey
- type of the Lui set to be createdcontextInfo
- information containing the principalId and
locale information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- luiTypeKey or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.