public abstract class AbstractGrouper extends Object implements GrouperIF
Constructor and Description |
---|
AbstractGrouper(Integer id,
GrouperVersionObject grouperVersionObject,
Boolean loadDescription) |
AbstractGrouper(int id,
String name,
String description,
String startDate,
String endDate,
boolean active,
boolean defaultt,
boolean loadDescription) |
Modifier and Type | Method and Description |
---|---|
protected ClaimIF |
castClaim(ClaimContainerIF claimInput)
Convert String-based input claim object
into internal claim object
|
protected String |
formatResult(ClaimIF claim) |
DataContainerIF<PositionAccessorIF> |
getAvailableTableContent(TableNames_EN tableType) |
List<Integer> |
getClaimLayout() |
List<Integer> |
getClaimLayoutInputOnly() |
ClaimManagerIF |
getClaimManager() |
DataManagerIF |
getDataManager() |
String |
getDescription()
The description of the object
|
ClaimContainerIF |
getEmptyClaim() |
Date |
getEndDate() |
int |
getId()
the id of the object
|
String |
getName() |
GrouperIF |
getNextVersion()
Get link to next version for spanning claims
|
Date |
getStartDate() |
String |
getVersion() |
void |
group(ClaimContainerIF claimInput) |
protected void |
group(ClaimIF claim) |
String |
group(String claimInput) |
boolean |
isActive() |
boolean |
isDefault() |
boolean |
isLinked() |
protected void |
processClaim(ClaimIF claim,
DataManagerIF dataManager) |
void |
setActive(boolean active) |
void |
setClaimManager(ClaimManagerIF claimManager) |
void |
setDataManager(DataManagerIF dataManager) |
void |
setDefault(boolean defaultFlag) |
void |
setDescription(String description)
Sets the objects internal description
|
void |
setEndDate(Date endDate) |
void |
setId(int id)
Sets the id for the object at run time
|
void |
setLinked()
Set flag to link
|
void |
setName(String name) |
void |
setNextVersion(GrouperIF nextVersion)
Set link to next version for spanning claims
|
void |
setStartDate(Date startDate) |
void |
setUnlinked()
Set flag to unlink
|
public AbstractGrouper(int id, String name, String description, String startDate, String endDate, boolean active, boolean defaultt, boolean loadDescription) throws ParseException
id
- name
- description
- startDate
- endDate
- active
- defaultt
- loadDescription
- ParseException
public AbstractGrouper(Integer id, GrouperVersionObject grouperVersionObject, Boolean loadDescription) throws ParseException
id
- grouperVersionObject
- loadDescription
- ParseException
public boolean isLinked()
public void setLinked()
GrouperIF
public void setUnlinked()
GrouperIF
setUnlinked
in interface GrouperIF
public GrouperIF getNextVersion()
GrouperIF
getNextVersion
in interface GrouperIF
public void setNextVersion(GrouperIF nextVersion)
GrouperIF
setNextVersion
in interface GrouperIF
nextVersion
- the nextVersion to setpublic List<Integer> getClaimLayout()
getClaimLayout
in interface GrouperIF
public List<Integer> getClaimLayoutInputOnly()
getClaimLayoutInputOnly
in interface GrouperIF
public Date getStartDate()
getStartDate
in interface GrouperIF
public void setStartDate(Date startDate)
startDate
- the startDate to setpublic Date getEndDate()
getEndDate
in interface GrouperIF
public void setEndDate(Date endDate)
endDate
- the endDate to setpublic int getId()
IdentifiableIF
getId
in interface IdentifiableIF
public void setId(int id)
IdentifiableIF
setId
in interface IdentifiableIF
id
- the id to setpublic String getName()
getName
in interface NameableIF
public void setName(String name)
setName
in interface NameableIF
name
- the name to setpublic String getDescription()
DescribableIF
getDescription
in interface DescribableIF
public void setDescription(String description)
DescribableIF
setDescription
in interface DescribableIF
description
- the description to setpublic boolean isActive()
public void setActive(boolean active)
active
- the active to setpublic boolean isDefault()
public void setDefault(boolean defaultFlag)
defaultFlag
- the defaultFlag to setpublic ClaimContainerIF getEmptyClaim()
getEmptyClaim
in interface GrouperIF
protected ClaimIF castClaim(ClaimContainerIF claimInput)
claimInput
- public void group(ClaimContainerIF claimInput)
protected void group(ClaimIF claim)
claim
- protected void processClaim(ClaimIF claim, DataManagerIF dataManager)
claim
- dataManager
- public String getVersion()
getVersion
in interface GrouperIF
public DataContainerIF<PositionAccessorIF> getAvailableTableContent(TableNames_EN tableType)
getAvailableTableContent
in interface GrouperIF
tableType
- public DataManagerIF getDataManager()
public void setDataManager(DataManagerIF dataManager)
dataManager
- the dataManager to setpublic ClaimManagerIF getClaimManager()
getClaimManager
in interface GrouperIF
public void setClaimManager(ClaimManagerIF claimManager)
claimManager
- the claimManager to setCopyright © 2023. All rights reserved.