org.tigris.scarab.om
Class RModuleUserAttribute

java.lang.Object
  extended byorg.apache.torque.om.BaseObject
      extended byorg.tigris.scarab.om.BaseRModuleUserAttribute
          extended byorg.tigris.scarab.om.RModuleUserAttribute
All Implemented Interfaces:
org.apache.torque.om.Persistent, org.apache.fulcrum.intake.Retrievable, java.io.Serializable

public class RModuleUserAttribute
extends BaseRModuleUserAttribute
implements org.apache.torque.om.Persistent

This class is for dealing with Attributes associated to Users and Modules.

Version:
$Id: RModuleUserAttribute.java 10080 2006-04-30 23:38:30Z jorgeuriarte $
Author:
John D. McNally, Jon Scott Stevens
See Also:
Serialized Form

Field Summary
static Attribute CREATED_BY
           
static Attribute CREATED_DATE
           
static java.util.Set internalAttributes
           
static Attribute MODIFIED_BY
           
static Attribute MODIFIED_DATE
           
 
Fields inherited from class org.apache.torque.om.BaseObject
NEW_ID
 
Constructor Summary
RModuleUserAttribute()
           
 
Method Summary
 void delete(ScarabUser user)
          Delete the record.
 java.lang.String getName()
          Returns the proper name for the subyacent attribute, be it internal or a regular attribute.
 java.lang.String getName(ScarabLocalizationTool l10n)
          Returns a localized (if possible) version of the attribute name.
 boolean isInternal()
           
 void setInternalAttribute(java.lang.String v)
          Set the value of InternalAttribute
 
Methods inherited from class org.tigris.scarab.om.BaseRModuleUserAttribute
copy, copyInto, getAttribute, getAttribute, getAttributeId, getByName, getByPeerName, getByPosition, getFieldNames, getInternalAttribute, getIssueType, getIssueType, getIssueTypeId, getListId, getMITList, getMITList, getModule, getModule, getModuleId, getOrder, getPeer, getPrimaryKey, getQueryKey, getRmuaId, getScarabUser, getScarabUser, getUserId, isCacheOnSave, save, save, save, setAttribute, setAttributeId, setAttributeKey, setIssueType, setIssueTypeId, setIssueTypeKey, setListId, setMITList, setMITListKey, setModule, setModuleId, setModuleKey, setOrder, setPrimaryKey, setPrimaryKey, setQueryKey, setRmuaId, setScarabUser, setScarabUserKey, setUserId, toString
 
Methods inherited from class org.apache.torque.om.BaseObject
equals, equals, getLog, hashCode, isModified, isNew, resetModified, setModified, setNew, setPrimaryKey
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.torque.om.Persistent
getPrimaryKey, isModified, isNew, save, save, save, setModified, setNew, setPrimaryKey, setPrimaryKey
 

Field Detail

MODIFIED_BY

public static Attribute MODIFIED_BY

MODIFIED_DATE

public static Attribute MODIFIED_DATE

CREATED_BY

public static Attribute CREATED_BY

CREATED_DATE

public static Attribute CREATED_DATE

internalAttributes

public static java.util.Set internalAttributes
Constructor Detail

RModuleUserAttribute

public RModuleUserAttribute()
Method Detail

delete

public void delete(ScarabUser user)
            throws org.apache.torque.TorqueException,
                   org.apache.fulcrum.security.util.TurbineSecurityException
Delete the record. Must have USER__EDIT_PREFERENCES to be able to execute this method.

Throws:
org.apache.torque.TorqueException
org.apache.fulcrum.security.util.TurbineSecurityException

setInternalAttribute

public void setInternalAttribute(java.lang.String v)
Description copied from class: BaseRModuleUserAttribute
Set the value of InternalAttribute

Overrides:
setInternalAttribute in class BaseRModuleUserAttribute
Parameters:
v - new value

isInternal

public boolean isInternal()

getName

public java.lang.String getName()
Returns the proper name for the subyacent attribute, be it internal or a regular attribute.

Returns:

getName

public java.lang.String getName(ScarabLocalizationTool l10n)
Returns a localized (if possible) version of the attribute name. It only applies to internal attributes, so any other attribute name will be returned unchanged.

Parameters:
l10n -
Returns:


Copyright © 2000-2004 Tigris.org. All Rights Reserved.