Liferay 6.0.3

com.liferay.portal.model.impl
Class GroupModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<Group>
      extended by com.liferay.portal.model.impl.GroupModelImpl
All Implemented Interfaces:
BaseModel<Group>, GroupModel, Serializable, Cloneable, Comparable<Group>
Direct Known Subclasses:
GroupImpl

public class GroupModelImpl
extends BaseModelImpl<Group>
implements GroupModel

This interface is a model that represents the Group_ table in the database.

See Also:
GroupImpl, Group, GroupModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Field Summary
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED_GROUPS_ORGS
           
static boolean FINDER_CACHE_ENABLED_GROUPS_PERMISSIONS
           
static boolean FINDER_CACHE_ENABLED_GROUPS_ROLES
           
static boolean FINDER_CACHE_ENABLED_GROUPS_USERGROUPS
           
static boolean FINDER_CACHE_ENABLED_USERS_GROUPS
           
static long LOCK_EXPIRATION_TIME
           
static Object[][] MAPPING_TABLE_GROUPS_ORGS_COLUMNS
           
static String MAPPING_TABLE_GROUPS_ORGS_NAME
           
static String MAPPING_TABLE_GROUPS_ORGS_SQL_CREATE
           
static Object[][] MAPPING_TABLE_GROUPS_PERMISSIONS_COLUMNS
           
static String MAPPING_TABLE_GROUPS_PERMISSIONS_NAME
           
static String MAPPING_TABLE_GROUPS_PERMISSIONS_SQL_CREATE
           
static Object[][] MAPPING_TABLE_GROUPS_ROLES_COLUMNS
           
static String MAPPING_TABLE_GROUPS_ROLES_NAME
           
static String MAPPING_TABLE_GROUPS_ROLES_SQL_CREATE
           
static Object[][] MAPPING_TABLE_GROUPS_USERGROUPS_COLUMNS
           
static String MAPPING_TABLE_GROUPS_USERGROUPS_NAME
           
static String MAPPING_TABLE_GROUPS_USERGROUPS_SQL_CREATE
           
static String MAPPING_TABLE_USERS_GROUPS_NAME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
GroupModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(Group group)
           
 boolean equals(Object obj)
           
 boolean getActive()
           
 String getClassName()
           
 long getClassNameId()
           
 long getClassPK()
           
 long getCompanyId()
           
 long getCreatorUserId()
           
 String getCreatorUserUuid()
           
 String getDescription()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 String getFriendlyURL()
           
 long getGroupId()
           
 long getLiveGroupId()
           
 String getName()
           
 long getOriginalClassNameId()
           
 long getOriginalClassPK()
           
 long getOriginalCompanyId()
           
 String getOriginalFriendlyURL()
           
 long getOriginalLiveGroupId()
           
 String getOriginalName()
           
 long getParentGroupId()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 int getType()
           
 String getTypeSettings()
           
 int hashCode()
           
 boolean isActive()
           
 void setActive(boolean active)
           
 void setClassNameId(long classNameId)
           
 void setClassPK(long classPK)
           
 void setCompanyId(long companyId)
           
 void setCreatorUserId(long creatorUserId)
           
 void setCreatorUserUuid(String creatorUserUuid)
           
 void setDescription(String description)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setFriendlyURL(String friendlyURL)
           
 void setGroupId(long groupId)
           
 void setLiveGroupId(long liveGroupId)
           
 void setName(String name)
           
 void setParentGroupId(long parentGroupId)
           
 void setPrimaryKey(long pk)
           
 void setType(int type)
           
 void setTypeSettings(String typeSettings)
           
 Group toEscapedModel()
           
static Group toModel(GroupSoap soapModel)
           
static List<Group> toModels(GroupSoap[] soapModels)
           
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.GroupModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

MAPPING_TABLE_GROUPS_ORGS_NAME

public static final String MAPPING_TABLE_GROUPS_ORGS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_GROUPS_ORGS_COLUMNS

public static final Object[][] MAPPING_TABLE_GROUPS_ORGS_COLUMNS

MAPPING_TABLE_GROUPS_ORGS_SQL_CREATE

public static final String MAPPING_TABLE_GROUPS_ORGS_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_GROUPS_ORGS

public static final boolean FINDER_CACHE_ENABLED_GROUPS_ORGS

MAPPING_TABLE_GROUPS_PERMISSIONS_NAME

public static final String MAPPING_TABLE_GROUPS_PERMISSIONS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_GROUPS_PERMISSIONS_COLUMNS

public static final Object[][] MAPPING_TABLE_GROUPS_PERMISSIONS_COLUMNS

MAPPING_TABLE_GROUPS_PERMISSIONS_SQL_CREATE

public static final String MAPPING_TABLE_GROUPS_PERMISSIONS_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_GROUPS_PERMISSIONS

public static final boolean FINDER_CACHE_ENABLED_GROUPS_PERMISSIONS

MAPPING_TABLE_GROUPS_ROLES_NAME

public static final String MAPPING_TABLE_GROUPS_ROLES_NAME
See Also:
Constant Field Values

MAPPING_TABLE_GROUPS_ROLES_COLUMNS

public static final Object[][] MAPPING_TABLE_GROUPS_ROLES_COLUMNS

MAPPING_TABLE_GROUPS_ROLES_SQL_CREATE

public static final String MAPPING_TABLE_GROUPS_ROLES_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_GROUPS_ROLES

public static final boolean FINDER_CACHE_ENABLED_GROUPS_ROLES

MAPPING_TABLE_GROUPS_USERGROUPS_NAME

public static final String MAPPING_TABLE_GROUPS_USERGROUPS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_GROUPS_USERGROUPS_COLUMNS

public static final Object[][] MAPPING_TABLE_GROUPS_USERGROUPS_COLUMNS

MAPPING_TABLE_GROUPS_USERGROUPS_SQL_CREATE

public static final String MAPPING_TABLE_GROUPS_USERGROUPS_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_GROUPS_USERGROUPS

public static final boolean FINDER_CACHE_ENABLED_GROUPS_USERGROUPS

MAPPING_TABLE_USERS_GROUPS_NAME

public static final String MAPPING_TABLE_USERS_GROUPS_NAME
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_USERS_GROUPS

public static final boolean FINDER_CACHE_ENABLED_USERS_GROUPS

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

GroupModelImpl

public GroupModelImpl()
Method Detail

toModel

public static Group toModel(GroupSoap soapModel)

toModels

public static List<Group> toModels(GroupSoap[] soapModels)

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface GroupModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface GroupModel

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key for this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<Group>
Specified by:
getPrimaryKeyObj in interface GroupModel
Returns:
the primary key

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface GroupModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface GroupModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface GroupModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface GroupModel

getOriginalCompanyId

public long getOriginalCompanyId()

getCreatorUserId

public long getCreatorUserId()
Specified by:
getCreatorUserId in interface GroupModel

setCreatorUserId

public void setCreatorUserId(long creatorUserId)
Specified by:
setCreatorUserId in interface GroupModel

getCreatorUserUuid

public String getCreatorUserUuid()
                          throws SystemException
Specified by:
getCreatorUserUuid in interface GroupModel
Throws:
SystemException

setCreatorUserUuid

public void setCreatorUserUuid(String creatorUserUuid)
Specified by:
setCreatorUserUuid in interface GroupModel

getClassName

public String getClassName()
Specified by:
getClassName in interface GroupModel

getClassNameId

public long getClassNameId()
Specified by:
getClassNameId in interface GroupModel

setClassNameId

public void setClassNameId(long classNameId)
Specified by:
setClassNameId in interface GroupModel

getOriginalClassNameId

public long getOriginalClassNameId()

getClassPK

public long getClassPK()
Specified by:
getClassPK in interface GroupModel

setClassPK

public void setClassPK(long classPK)
Specified by:
setClassPK in interface GroupModel

getOriginalClassPK

public long getOriginalClassPK()

getParentGroupId

public long getParentGroupId()
Specified by:
getParentGroupId in interface GroupModel

setParentGroupId

public void setParentGroupId(long parentGroupId)
Specified by:
setParentGroupId in interface GroupModel

getLiveGroupId

public long getLiveGroupId()
Specified by:
getLiveGroupId in interface GroupModel

setLiveGroupId

public void setLiveGroupId(long liveGroupId)
Specified by:
setLiveGroupId in interface GroupModel

getOriginalLiveGroupId

public long getOriginalLiveGroupId()

getName

public String getName()
Specified by:
getName in interface GroupModel

setName

public void setName(String name)
Specified by:
setName in interface GroupModel

getOriginalName

public String getOriginalName()

getDescription

public String getDescription()
Specified by:
getDescription in interface GroupModel

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface GroupModel

getType

public int getType()
Specified by:
getType in interface GroupModel

setType

public void setType(int type)
Specified by:
setType in interface GroupModel

getTypeSettings

public String getTypeSettings()
Specified by:
getTypeSettings in interface GroupModel

setTypeSettings

public void setTypeSettings(String typeSettings)
Specified by:
setTypeSettings in interface GroupModel

getFriendlyURL

public String getFriendlyURL()
Specified by:
getFriendlyURL in interface GroupModel

setFriendlyURL

public void setFriendlyURL(String friendlyURL)
Specified by:
setFriendlyURL in interface GroupModel

getOriginalFriendlyURL

public String getOriginalFriendlyURL()

getActive

public boolean getActive()
Specified by:
getActive in interface GroupModel

isActive

public boolean isActive()
Specified by:
isActive in interface GroupModel

setActive

public void setActive(boolean active)
Specified by:
setActive in interface GroupModel

toEscapedModel

public Group toEscapedModel()
Specified by:
toEscapedModel in interface GroupModel

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<Group>
Specified by:
getExpandoBridge in interface GroupModel
Overrides:
getExpandoBridge in class BaseModelImpl<Group>
Returns:
the expando bridge

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<Group>
Specified by:
setExpandoBridgeAttributes in interface GroupModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<Group>
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<Group>
Specified by:
clone in interface GroupModel
Specified by:
clone in class BaseModelImpl<Group>
Returns:
the clone

compareTo

public int compareTo(Group group)
Specified by:
compareTo in interface GroupModel
Specified by:
compareTo in interface Comparable<Group>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface GroupModel
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface GroupModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<Group>
Specified by:
toXmlString in interface GroupModel
Returns:
the XML representation of this model instance

Liferay 6.0.3