Class AttributeRequirementHome
java.lang.Object
fr.paris.lutece.plugins.identitystore.business.contract.AttributeRequirementHome
This class provides instances management methods (create, find, ...) for AttributeRequirement objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeRequirementcreate(AttributeRequirement attributeRequirement, ServiceContract serviceContract) Create an instance of the attributeRequirement classstatic Optional<AttributeRequirement>findByPrimaryKey(int nKey) Returns an instance of a attributeRequirement whose identifier is specified in parameterstatic List<AttributeRequirement>Load the data of all the attributeRequirement objects and returns them as a liststatic List<AttributeRequirement>getAttributeRequirementsListByIds(List<Integer> listIds) Load the data of all the avant objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListLoad the data of all the attributeRequirement objects and returns them as a referenceListLoad the id of all the attributeRequirement objects and returns them as a liststatic voidRemove the attributeRequirement whose identifier is specified in parameterstatic AttributeRequirementupdate(AttributeRequirement attributeRequirement) Update of the attributeRequirement which is specified in parameter
-
Method Details
-
create
public static AttributeRequirement create(AttributeRequirement attributeRequirement, ServiceContract serviceContract) Create an instance of the attributeRequirement class- Parameters:
attributeRequirement- The instance of the AttributeRequirement which contains the informations to store- Returns:
- The instance of attributeRequirement which has been created with its primary key.
-
update
Update of the attributeRequirement which is specified in parameter- Parameters:
attributeRequirement- The instance of the AttributeRequirement which contains the data to store- Returns:
- The instance of the attributeRequirement which has been updated
-
remove
Remove the attributeRequirement whose identifier is specified in parameter- Parameters:
nKey- The attributeRequirement Id
-
findByPrimaryKey
Returns an instance of a attributeRequirement whose identifier is specified in parameter- Parameters:
nKey- The attributeRequirement primary key- Returns:
- an instance of AttributeRequirement
-
getAttributeRequirementsList
Load the data of all the attributeRequirement objects and returns them as a list- Returns:
- the list which contains the data of all the attributeRequirement objects
-
getIdAttributeRequirementsList
Load the id of all the attributeRequirement objects and returns them as a list- Returns:
- the list which contains the id of all the attributeRequirement objects
-
getAttributeRequirementsReferenceList
public static fr.paris.lutece.util.ReferenceList getAttributeRequirementsReferenceList()Load the data of all the attributeRequirement objects and returns them as a referenceList- Returns:
- the referenceList which contains the data of all the attributeRequirement objects
-
getAttributeRequirementsListByIds
Load the data of all the avant objects and returns them as a list- Parameters:
listIds- liste of ids- Returns:
- the list which contains the data of all the avant objects
-