atg.svc.repository.beans
Interface SecuredItem

All Known Subinterfaces:
BooleanFieldDefinition, DateFieldDefinition, DecimalFieldDefinition, FieldDefinition, ListFieldDefinition, NumberFieldDefinition, OrganizationFieldDefinition, SolutionFieldValue, StatementFieldDefinition, TextFieldDefinition, TransactionalFragmentFieldDefinition, UserFieldDefinition
All Known Implementing Classes:
_BooleanFieldDefinition_BeanImpl, _BooleanFieldDefinition_Impl, _BooleanFieldDefinition_ReposImpl, _DateFieldDefinition_BeanImpl, _DateFieldDefinition_Impl, _DateFieldDefinition_ReposImpl, _DecimalFieldDefinition_BeanImpl, _DecimalFieldDefinition_Impl, _DecimalFieldDefinition_ReposImpl, _FieldDefinition_BeanImpl, _FieldDefinition_Impl, _FieldDefinition_ReposImpl, _ListFieldDefinition_BeanImpl, _ListFieldDefinition_Impl, _ListFieldDefinition_ReposImpl, _NumberFieldDefinition_BeanImpl, _NumberFieldDefinition_Impl, _NumberFieldDefinition_ReposImpl, _OrganizationFieldDefinition_BeanImpl, _OrganizationFieldDefinition_Impl, _OrganizationFieldDefinition_ReposImpl, _SolutionFieldValue_BeanImpl, _SolutionFieldValue_Impl, _SolutionFieldValue_ReposImpl, _StatementFieldDefinition_BeanImpl, _StatementFieldDefinition_Impl, _StatementFieldDefinition_ReposImpl, _TextFieldDefinition_BeanImpl, _TextFieldDefinition_Impl, _TextFieldDefinition_ReposImpl, _TransactionalFragmentFieldDefinition_BeanImpl, _TransactionalFragmentFieldDefinition_Impl, _TransactionalFragmentFieldDefinition_ReposImpl, _UserFieldDefinition_BeanImpl, _UserFieldDefinition_Impl, _UserFieldDefinition_ReposImpl

public interface SecuredItem

Defines a common interface for knowledge repository items that have internal and external security elements to them.

Version:
$Id: //application/service/version/2007.3/common/src/classes/atg/svc/repository/beans/SecuredItem.java#2 $$Change: 632007 $
Author:
dkenyon

Field Summary
static java.lang.String CLASS_VERSION
           
 
Method Summary
 java.lang.String[] getExternalAudience()
          Gets the array of segments for the external audience
 java.lang.String[] getInternalAudience()
          Gets the array of segments for the internal audience (view permission)
 java.lang.String[] getInternalModify()
          Gets the array of segments for the internal audience (modify permission)
 boolean getIsVisible()
          Returns true if the object is visible for the current user.
 void setExternalAudience(java.lang.String[] pSegments)
          Sets the array of segments for the external audience
 void setInternalAudience(java.lang.String[] pSegments)
          Sets the array of segments for the internal audience (view permission)
 void setInternalModify(java.lang.String[] pSegments)
          Sets the array of segments for the internal audience (modify permission)
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values
Method Detail

getExternalAudience

java.lang.String[] getExternalAudience()
Gets the array of segments for the external audience

Returns:
The array of segments for the external audience

setExternalAudience

void setExternalAudience(java.lang.String[] pSegments)
Sets the array of segments for the external audience

Parameters:
pSegments - The array of segments for the external audience

getInternalAudience

java.lang.String[] getInternalAudience()
Gets the array of segments for the internal audience (view permission)

Returns:
The array of segments for the internal audience

setInternalAudience

void setInternalAudience(java.lang.String[] pSegments)
Sets the array of segments for the internal audience (view permission)

Parameters:
pSegments - The array of segments for the internal audience

getInternalModify

java.lang.String[] getInternalModify()
Gets the array of segments for the internal audience (modify permission)

Returns:
The array of segments for the internal audience

setInternalModify

void setInternalModify(java.lang.String[] pSegments)
Sets the array of segments for the internal audience (modify permission)

Parameters:
pSegments - The array of segments for the internal audience

getIsVisible

boolean getIsVisible()
Returns true if the object is visible for the current user.

Returns:
True if the object is visible for the current user.