Class ActionType
- java.lang.Object
-
- com.aoindustries.aoserv.client.AOServObject<K,T>
-
- com.aoindustries.aoserv.client.GlobalObject<String,T>
-
- com.aoindustries.aoserv.client.GlobalObjectStringKey<ActionType>
-
- com.aoindustries.aoserv.client.ticket.ActionType
-
- All Implemented Interfaces:
Streamable,StreamReadable,StreamWritable,Row,AOServReadable,AOServStreamable,AOServWritable
public final class ActionType extends GlobalObjectStringKey<ActionType>
All of the types of ticket changes are represented by theseTicketActionTypes.
-
-
Field Summary
Fields Modifier and Type Field Description static StringADD_ANNOTATIONstatic StringASSIGNstatic StringSET_ADMIN_PRIORITYstatic StringSET_BUSINESSstatic StringSET_CATEGORYstatic StringSET_CLIENT_PRIORITYstatic StringSET_CONTACT_EMAILSstatic StringSET_CONTACT_PHONE_NUMBERSstatic StringSET_INTERNAL_NOTESstatic StringSET_STATUSstatic StringSET_SUMMARYstatic StringSET_TYPE-
Fields inherited from class com.aoindustries.aoserv.client.GlobalObjectStringKey
pkey
-
Fields inherited from class com.aoindustries.aoserv.client.AOServObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE
-
-
Constructor Summary
Constructors Constructor Description ActionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ObjectgetColumnImpl(int i)Table.TableIDgetTableID()StringgetType()voidinit(ResultSet result)Initializes this object from the raw database contents.voidread(StreamableInput in, AoservProtocol.Version protocolVersion)StringtoStringImpl()AOServObject.toString()implementation that is allowed to throw exceptions.voidwrite(StreamableOutput out, AoservProtocol.Version protocolVersion)-
Methods inherited from class com.aoindustries.aoserv.client.GlobalObjectStringKey
equals, getKey, hashCode
-
Methods inherited from class com.aoindustries.aoserv.client.AOServObject
compare, compare, compare, compare, compareIgnoreCaseConsistentWithEquals, compareTo, compareTo, compareTo, getAccountingCode, getColumn, getColumns, getColumns, getDomainLabel, getDomainLabels, getDomainName, getDto, getEmail, getGecos, getGroupId, getHashedKey, getHashedPassword, getHostname, getInetAddress, getLinuxID, getLinuxUserName, getMacAddress, getMySQLDatabaseName, getMySQLServerName, getMysqlUserName, getPort, getPostgresDatabaseName, getPostgresServerName, getPostgresUserId, getTableSchema, getTimeMillis, getTimeMillis, getUnixPath, getUserId, read, toString, write
-
-
-
-
Field Detail
-
SET_BUSINESS
public static final String SET_BUSINESS
- See Also:
- Constant Field Values
-
SET_CONTACT_EMAILS
public static final String SET_CONTACT_EMAILS
- See Also:
- Constant Field Values
-
SET_CONTACT_PHONE_NUMBERS
public static final String SET_CONTACT_PHONE_NUMBERS
- See Also:
- Constant Field Values
-
SET_CLIENT_PRIORITY
public static final String SET_CLIENT_PRIORITY
- See Also:
- Constant Field Values
-
SET_SUMMARY
public static final String SET_SUMMARY
- See Also:
- Constant Field Values
-
ADD_ANNOTATION
public static final String ADD_ANNOTATION
- See Also:
- Constant Field Values
-
SET_STATUS
public static final String SET_STATUS
- See Also:
- Constant Field Values
-
SET_ADMIN_PRIORITY
public static final String SET_ADMIN_PRIORITY
- See Also:
- Constant Field Values
-
ASSIGN
public static final String ASSIGN
- See Also:
- Constant Field Values
-
SET_CATEGORY
public static final String SET_CATEGORY
- See Also:
- Constant Field Values
-
SET_INTERNAL_NOTES
public static final String SET_INTERNAL_NOTES
- See Also:
- Constant Field Values
-
SET_TYPE
public static final String SET_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getColumnImpl
protected Object getColumnImpl(int i)
- Specified by:
getColumnImplin classAOServObject<String,ActionType>
-
getTableID
public Table.TableID getTableID()
- Specified by:
getTableIDin classAOServObject<String,ActionType>
-
getType
public String getType()
-
init
public void init(ResultSet result) throws SQLException
Description copied from class:AOServObjectInitializes this object from the raw database contents.- Specified by:
initin classAOServObject<String,ActionType>- Parameters:
result- theResultSetcontaining the row to copy into this object- Throws:
SQLException
-
read
public void read(StreamableInput in, AoservProtocol.Version protocolVersion) throws IOException
- Specified by:
readin interfaceAOServReadable- Specified by:
readin interfaceAOServStreamable- Specified by:
readin classAOServObject<String,ActionType>- Throws:
IOException
-
toStringImpl
public String toStringImpl()
Description copied from class:AOServObjectAOServObject.toString()implementation that is allowed to throw exceptions.Implementation Note:
This default implementation callsAOServObject.toString()on the key (fromAOServObject.getKey()). When the key isnull, uses the default implementation fromObject.toString().- Overrides:
toStringImplin classGlobalObjectStringKey<ActionType>
-
write
public void write(StreamableOutput out, AoservProtocol.Version protocolVersion) throws IOException
- Specified by:
writein interfaceAOServStreamable- Specified by:
writein interfaceAOServWritable- Specified by:
writein classAOServObject<String,ActionType>- Throws:
IOException
-
-