|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Segment
SegmentHome
Attribute Name | Attribute Value |
---|---|
atg.repository.query.SupportedQueries | and, comparison, constant, inFolders, includesAny, includes, includesItem, isNull, matchId, not, or, patternMatch, property, propertyOf, unconstrained, patternMatch, textSearch |
Property Name | Property Type | Property Description | Flags |
---|---|---|---|
field | boolean | true if the segment is for use on field security | R, W, Cch, Qry, Req |
id | String |
R, W, Cch, Id, Qry, Req | |
internal | boolean | true if the segment is in the internal profile repository else false | R, W, Cch, Qry, Req |
internalAudience | String [] |
R, W, Cch, Mv, Qry | |
internalAudienceSorted | Object [] |
R, Cch, Drv, Mv, Qry | |
name | String |
segment name from profile group name | R, W, Cch, Qry, Req |
value | boolean | true if the segment is for use on value security | R, W, Cch, Qry, Req |
Property field: boolean
isField()
setField(boolean)
Property id: String
getId()
setId(java.lang.String)
Property internal: boolean
isInternal()
setInternal(boolean)
Property internalAudience: String
[]
getInternalAudience()
setInternalAudience(java.lang.String[])
Attribute Name | Attribute Value |
---|---|
deployable | false |
removeNullValues | true |
Property internalAudienceSorted: Object
[]
getInternalAudienceSorted()
Property name: String
getName()
setName(java.lang.String)
Property value: boolean
isValue()
setValue(boolean)
Field Summary |
---|
Fields inherited from interface atg.svc.repository.beans.SecuredInternalItem |
---|
CLASS_VERSION |
Method Summary | |
---|---|
boolean |
_isMutable()
Returns true if the item is mutable. |
void |
copyTo(Segment destination)
Copies the property values of this instance to another instance of the same data type. |
atg.repository.RepositoryItemGroup |
getGroup()
Gets RepositoryItemGroup represented by this Segment |
java.lang.String |
getId()
Getter for property id |
java.lang.String[] |
getInternalAudience()
Getter for property internalAudience |
java.lang.Object[] |
getInternalAudienceSorted()
Getter for property internalAudienceSorted |
boolean |
getIsVisible()
Returns true if the object is visible for the current user. |
java.lang.String |
getName()
Getter for property name |
boolean |
isField()
Getter for property field |
boolean |
isInternal()
Getter for property internal |
boolean |
isRemoved()
Returns true if the underlying object has been removed. |
boolean |
isValue()
Getter for property value |
void |
prepareInstanceForWrite()
This must be called if the application intends to both read and write the instance in the same transaction, and it intends to do a read before doing a write. |
void |
setField(boolean value)
Setter for property field . |
void |
setId(java.lang.String value)
Setter for property id . |
void |
setInternal(boolean value)
Setter for property internal . |
void |
setInternalAudience(java.lang.String[] value)
Setter for property internalAudience . |
void |
setName(java.lang.String value)
Setter for property name . |
void |
setValue(boolean value)
Setter for property value . |
void |
writeInstance()
This must be called after modifying an instance with a persistent implementation to guarantee that all changes are made persistent and visible to queries. |
Methods inherited from interface javax.ejb.EJBLocalObject |
---|
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
boolean isField() throws javax.ejb.EJBException
javax.ejb.EJBException
void setField(boolean value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- boolean
javax.ejb.EJBException
java.lang.String getId() throws javax.ejb.EJBException
String
javax.ejb.EJBException
void setId(java.lang.String value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- String
javax.ejb.EJBException
boolean isInternal() throws javax.ejb.EJBException
javax.ejb.EJBException
void setInternal(boolean value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- boolean
javax.ejb.EJBException
java.lang.String[] getInternalAudience() throws javax.ejb.EJBException
getInternalAudience
in interface SecuredInternalItem
String
[]
javax.ejb.EJBException
void setInternalAudience(java.lang.String[] value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
setInternalAudience
in interface SecuredInternalItem
value
- String
[]
javax.ejb.EJBException
java.lang.Object[] getInternalAudienceSorted() throws javax.ejb.EJBException
Object
[]
javax.ejb.EJBException
java.lang.String getName() throws javax.ejb.EJBException
String
javax.ejb.EJBException
void setName(java.lang.String value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- String
javax.ejb.EJBException
boolean isValue() throws javax.ejb.EJBException
javax.ejb.EJBException
void setValue(boolean value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- boolean
javax.ejb.EJBException
boolean isRemoved() throws javax.ejb.EJBException
javax.ejb.EJBException
void copyTo(Segment destination) throws javax.ejb.EJBException
javax.ejb.EJBException
void writeInstance() throws javax.ejb.EJBException
javax.ejb.EJBException
void prepareInstanceForWrite() throws javax.ejb.EJBException
javax.ejb.EJBException
boolean _isMutable()
atg.repository.RepositoryItemGroup getGroup() throws javax.ejb.EJBException
javax.ejb.EJBException
- A system-level error occurredboolean getIsVisible() throws javax.ejb.EJBException
SecuredInternalItem
getIsVisible
in interface SecuredInternalItem
javax.ejb.EJBException
- A system-level error occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |