oracle.panama.model
Interface Profile

All Superinterfaces:
ModelObject, XMLObject

public interface Profile
extends ModelObject


Field Summary
TypeField
static int TYPEID
          The type id of this class.
static java.lang.String TYPENAME
          The constant class type identifier
 
Method Summary
TypeMethod
 int getAccessCount(Service service)
          Gets the access count of a service in the profile.
 Service[] getAccessibleHomeFolderServices()
          Get all valid and visible services for the user's home folder.
 Service[] getAccessibleHomeFolderServicesIncludeHidden()
          Get all valid and visible services for the user's home folder, including those hidden in the profile
 java.sql.Timestamp getLastAccessTime(Service service)
          Gets the last access time of a service in the profile.
 java.lang.String getName()
          Gets the name of the profile.
 int getSeqno(Service service)
          Gets the customized sequence number of a service the profile.
 SortRule getSortRule(Folder folder)
          Gets the sorting rule of a folder in the profile.
 User getUser()
          Gets the ower of the profile.
 void incrementAccessCount(Service service)
          Increment the access count of a service in the profile.
 boolean isHidden(Service service)
          Gets the customized visibility of a service in the profile.
 void resetAccessCount(Service service)
          Resets the access count of a service in the profile.
 void resetLastAccessTime(Service service)
          Resets the last access time of a service in the profile.
 void resetSortRule(Folder folder)
          Resets the sort rule for the folder to the system defined default sort rule.
 void setHide(Service service, boolean hide)
          Sets the customized visibility of a service the profile.
 void setName(java.lang.String name)
          Sets the name of the profile.
 void setSeqno(Service service, int seqno)
          Sets the customized sequence number of a service in the profile.
 void setSortRule(Folder folder, SortRule rule)
          Sets the sorting rule of a folder in the profile.
 
Methods inherited from interface oracle.panama.model.ModelObject
delete, getCreatedDate, getId, getLastModifiedDate, getTypeId, getTypeName, isSystem, setSystem, undoAll
 
Methods inherited from interface oracle.panama.model.XMLObject
setXML, toXML
 

Field Detail

TYPENAME

public static final java.lang.String TYPENAME
The constant class type identifier

TYPEID

public static final int TYPEID
The type id of this class.
Method Detail

getName

public java.lang.String getName()
Gets the name of the profile.
Specified by:
getName in interface ModelObject
Following copied from interface: oracle.panama.model.ModelObject
Returns:
String the name of the object

setName

public void setName(java.lang.String name)
Sets the name of the profile.
Specified by:
setName in interface ModelObject
Following copied from interface: oracle.panama.model.ModelObject
Parameters:
name - must be not null

getUser

public User getUser()
Gets the ower of the profile. After a profile is created by the User, client cannot change the owner of a profile.
Returns:
The User

isHidden

public boolean isHidden(Service service)
Gets the customized visibility of a service in the profile.
Returns:
The visibility property value.

setHide

public void setHide(Service service,
                    boolean hide)
Sets the customized visibility of a service the profile.
Parameters:
hide - The new value for the property.

getSeqno

public int getSeqno(Service service)
Gets the customized sequence number of a service the profile.
Returns:
The seqno property value.

setSeqno

public void setSeqno(Service service,
                     int seqno)
Sets the customized sequence number of a service in the profile.
Parameters:
seqno - The new value for the property.

getAccessCount

public int getAccessCount(Service service)
Gets the access count of a service in the profile.
Returns:
The access count property value.

resetAccessCount

public void resetAccessCount(Service service)
Resets the access count of a service in the profile.
Parameters:
count - The new value for the property.

incrementAccessCount

public void incrementAccessCount(Service service)
Increment the access count of a service in the profile.

getLastAccessTime

public java.sql.Timestamp getLastAccessTime(Service service)
Gets the last access time of a service in the profile.
Returns:
The last access time property value.

resetLastAccessTime

public void resetLastAccessTime(Service service)
Resets the last access time of a service in the profile.
Parameters:
time - The new value for the property.

getSortRule

public SortRule getSortRule(Folder folder)
Gets the sorting rule of a folder in the profile.
Returns:
The sorting rule property value.

setSortRule

public void setSortRule(Folder folder,
                        SortRule rule)
Sets the sorting rule of a folder in the profile.
Parameters:
rule - The new value for the property.

resetSortRule

public void resetSortRule(Folder folder)
Resets the sort rule for the folder to the system defined default sort rule.

getAccessibleHomeFolderServices

public Service[] getAccessibleHomeFolderServices()
Get all valid and visible services for the user's home folder.
Returns:
a Service[] of valid (per user) services.

getAccessibleHomeFolderServicesIncludeHidden

public Service[] getAccessibleHomeFolderServicesIncludeHidden()
Get all valid and visible services for the user's home folder, including those hidden in the profile
Returns:
a Service[] of valid (per user) services.